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 {