From f96692f18adf1832a88ae312eec50d9e53a7cd65 Mon Sep 17 00:00:00 2001 From: Aditya Dhanraj <134140404+adi-exe@users.noreply.github.com> Date: Wed, 31 Jan 2024 18:51:09 +0530 Subject: [PATCH] retained the "email is required" message Footer.jsx retained the "email is required" message in the email form. --- frontend/src/components/Footer/Footer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Footer/Footer.jsx b/frontend/src/components/Footer/Footer.jsx index e5d7420b..70881d4d 100644 --- a/frontend/src/components/Footer/Footer.jsx +++ b/frontend/src/components/Footer/Footer.jsx @@ -23,7 +23,7 @@ export const Footer = (props) => { isValid = false; } if (!email.trim()) { - emailErr.emailRequired = ""; + emailErr.emailRequired = "* Email is required"; isValid = false; } setEmailErr(emailErr);