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