From ac728128b9ea5180f87ff3a8d639e7b4c7824c79 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Tue, 17 Dec 2024 08:57:52 +0530 Subject: [PATCH] Chore: Cleanup Module imports --- bookie/src/app/auth/login/login.component.ts | 30 ++++++++------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/bookie/src/app/auth/login/login.component.ts b/bookie/src/app/auth/login/login.component.ts index c6ca319..60560b7 100644 --- a/bookie/src/app/auth/login/login.component.ts +++ b/bookie/src/app/auth/login/login.component.ts @@ -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 {