Chore: Cleanup Module imports

This commit is contained in:
Amritanshu Agrawal 2024-12-17 08:57:52 +05:30
parent 5536bcae41
commit ac728128b9

View File

@ -1,11 +1,11 @@
import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core'; import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core';
import { FormControl, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { FormControl, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
import { MatButton } from '@angular/material/button'; import { MatButtonModule } from '@angular/material/button';
import { MatCard, MatCardHeader, MatCardTitle, MatCardContent, MatCardActions } from '@angular/material/card'; import { MatCardModule } from '@angular/material/card';
import { MatDivider } from '@angular/material/divider'; import { MatDividerModule } from '@angular/material/divider';
import { MatFormField, MatLabel, MatSuffix } from '@angular/material/form-field'; import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIcon } from '@angular/material/icon'; import { MatIconModule } from '@angular/material/icon';
import { MatInput } from '@angular/material/input'; import { MatInputModule } from '@angular/material/input';
import { ActivatedRoute, Router } from '@angular/router'; import { ActivatedRoute, Router } from '@angular/router';
import { ToasterService } from '../../core/toaster.service'; import { ToasterService } from '../../core/toaster.service';
@ -17,19 +17,13 @@ import { AuthService } from '../auth.service';
templateUrl: './login.component.html', templateUrl: './login.component.html',
styleUrls: ['./login.component.css'], styleUrls: ['./login.component.css'],
imports: [ imports: [
MatCard, MatCardModule,
MatCardHeader,
MatCardTitle,
MatCardContent,
ReactiveFormsModule, ReactiveFormsModule,
MatFormField, MatFormFieldModule,
MatLabel, MatInputModule,
MatInput, MatIconModule,
MatIcon, MatDividerModule,
MatSuffix, MatButtonModule,
MatDivider,
MatCardActions,
MatButton,
], ],
}) })
export class LoginComponent implements OnInit, AfterViewInit { export class LoginComponent implements OnInit, AfterViewInit {