From a57ca1c35aabc5af66ea061795b0727d01145f26 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Sat, 12 Jul 2025 01:30:30 +0530 Subject: [PATCH] feat: proper error message --- src/pages/Register.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Register.tsx b/src/pages/Register.tsx index 81474977..f223d169 100644 --- a/src/pages/Register.tsx +++ b/src/pages/Register.tsx @@ -41,7 +41,7 @@ const Register = () => { // Basic "@" check (minimal) if (!email.includes("@")) { - notify("error", t('register.error.invalid_email') || "Invalid email format"); + notify("error", "Invalid email format"); return; }