cleaned code

This commit is contained in:
2026-03-24 11:42:56 +01:00
parent d7a6d363f8
commit 870032a733
5 changed files with 7 additions and 7 deletions
@@ -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";
+2 -2
View File
@@ -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
]
})