diff --git a/frontend/src/components/LandingPage.tsx b/frontend/src/components/LandingPage.tsx index 4b76c2ff..66467ea4 100644 --- a/frontend/src/components/LandingPage.tsx +++ b/frontend/src/components/LandingPage.tsx @@ -24,6 +24,10 @@ export const LandingPage: React.FC = ({ className }) => { const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); + if (isLoading || isSubmitted) { + return; + } + const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; if (!email) { setEmailError(t('hero.emailRequired')); @@ -181,9 +185,9 @@ export const LandingPage: React.FC = ({ className }) => { )} -