diff --git a/frontend/src/pages/ForgotPasswordPage.tsx b/frontend/src/pages/ForgotPasswordPage.tsx index 0b38b87..1c7894b 100644 --- a/frontend/src/pages/ForgotPasswordPage.tsx +++ b/frontend/src/pages/ForgotPasswordPage.tsx @@ -164,7 +164,7 @@ const ForgotPasswordPage: React.FC = () => { if (window.turnstile) { renderWidget(); - return undefined; + return; } else { const interval = setInterval(() => { if (window.turnstile) { diff --git a/frontend/src/pages/RegisterPage.tsx b/frontend/src/pages/RegisterPage.tsx index 36c4427..f24c205 100644 --- a/frontend/src/pages/RegisterPage.tsx +++ b/frontend/src/pages/RegisterPage.tsx @@ -227,7 +227,7 @@ const RegisterPage: React.FC = () => {
); } - if (isUsernameAvailable === true) return