From 98c97f7d568a71647101c3532faf766cb5195ddf Mon Sep 17 00:00:00 2001 From: Brooke Date: Fri, 1 Jul 2022 14:16:52 -0700 Subject: [PATCH] PROD-2194 #comment fix bug on login prompt #time 5m --- src/routes/LoginPrompt/index.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -