chore: lint

This commit is contained in:
amhsirak
2025-07-12 01:32:31 +05:30
parent eb02ce797b
commit 8e3a22c675

View File

@@ -39,11 +39,11 @@ const Register = () => {
const submitForm = async (e: any) => {
e.preventDefault();
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
if (!emailRegex.test(email)) {
notify("error", "Invalid email format");
return;
}
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
if (!emailRegex.test(email)) {
notify("error", "Invalid email format");
return;
}
setLoading(true);
try {