diff --git a/frontend/src/app/feature/auth/register/register.component.ts b/frontend/src/app/feature/auth/register/register.component.ts index 039378a..8ad38bb 100644 --- a/frontend/src/app/feature/auth/register/register.component.ts +++ b/frontend/src/app/feature/auth/register/register.component.ts @@ -21,14 +21,14 @@ export class RegisterComponent { constructor( private fb: FormBuilder, - private authService: AuthService, + private authService: AuthService ) { this.registerForm = this.fb.group({ email: ['', [Validators.required, Validators.email]], username: ['', [Validators.required, Validators.minLength(3)]], password: ['', [Validators.required, Validators.minLength(6)]], }); - } + } get form() { return this.registerForm.controls;