diff --git a/src/routes/LoginPrompt/index.jsx b/src/routes/LoginPrompt/index.jsx index 2ab0e1eb1..1b390fee3 100644 --- a/src/routes/LoginPrompt/index.jsx +++ b/src/routes/LoginPrompt/index.jsx @@ -37,11 +37,11 @@ const LoginPrompt = ({ }, [isLoggedIn]); const onLogin = () => { - navigate(config.SIGN_IN_URL); + window.location.href = config.SIGN_IN_URL }; - const onSingUp = () => { - navigate(config.SIGN_UP_URL); + const onSignUp = () => { + window.location.href = config.SIGN_UP_URL }; const onBack = () => { @@ -70,7 +70,7 @@ const LoginPrompt = ({ LOG IN OR -