cleaned code
This commit is contained in:
+4
-4
@@ -3,15 +3,15 @@ import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/
|
||||
import {IonicModule} from "@ionic/angular";
|
||||
|
||||
@Component({
|
||||
selector: 'app-login-form',
|
||||
templateUrl: './login-form.component.html',
|
||||
styleUrls: ['./login-form.component.scss'],
|
||||
selector: 'app-sign-in-form',
|
||||
templateUrl: './sign-in-form.component.html',
|
||||
styleUrls: ['./sign-in-form.component.scss'],
|
||||
imports: [
|
||||
ReactiveFormsModule,
|
||||
IonicModule
|
||||
]
|
||||
})
|
||||
export class LoginFormComponent {
|
||||
export class SignInFormComponent {
|
||||
|
||||
loginForm: FormGroup = new FormGroup({
|
||||
username: new FormControl<string>(null, [Validators.required]),
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Component } from '@angular/core';
|
||||
import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||
import {IonicModule} from "@ionic/angular";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {Component, signal} from '@angular/core';
|
||||
import {IonicModule} from "@ionic/angular";
|
||||
import {LoginFormComponent} from "../../components/login-form/login-form.component";
|
||||
import {SignInFormComponent} from "../../components/sign-in-form/sign-in-form.component";
|
||||
import {SignOnFormComponent} from "../../components/sign-on-form/sign-on-form.component";
|
||||
|
||||
@Component({
|
||||
@@ -9,7 +9,7 @@ import {SignOnFormComponent} from "../../components/sign-on-form/sign-on-form.co
|
||||
styleUrls: ['./login.component.scss'],
|
||||
imports: [
|
||||
IonicModule,
|
||||
LoginFormComponent,
|
||||
SignInFormComponent,
|
||||
SignOnFormComponent
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user