issue #33
All checks were successful
Test CI / build (push) Successful in 15s

- 로그인 버튼 비활성화 오류 해결
- 로그인 요칭 및 응답에 따른 토스트 구현
This commit is contained in:
2025-11-30 18:20:47 +09:00
parent 49cda54644
commit 877bbc582e
10 changed files with 72 additions and 38 deletions

View File

@@ -1,5 +1,7 @@
export class Validator {
static isEmail = (value: string): boolean => {
return /^[^\s@]+@[^\s@]+\.[*\s@]+$/.test(value);
}
static isEmail = (value: any) => {
if (typeof value !== 'string') return false;
const email = value.trim();
return /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/.test(email);
};
}