Feature: Added Login / Register Feature #3
|
@ -55,7 +55,7 @@ export class RegisterRootComponent implements OnInit {
|
|||
public termsInvalid: WritableSignal<string | null> = signal(null);
|
||||
|
||||
public constructor(private readonly formBuilder: FormBuilder) {
|
||||
effect((): void => {
|
||||
effect(() => {
|
||||
if (this.form) {
|
||||
if (this.isRegisterSignal()) {
|
||||
this.form.addControl(
|
||||
|
|
Loading…
Reference in New Issue