Skip to content

Commit 98c97f7

Browse files
PROD-2194 #comment fix bug on login prompt #time 5m
1 parent 37f29e1 commit 98c97f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/routes/LoginPrompt/index.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ const LoginPrompt = ({
3737
}, [isLoggedIn]);
3838

3939
const onLogin = () => {
40-
navigate(config.SIGN_IN_URL);
40+
window.location.href = config.SIGN_IN_URL
4141
};
4242

43-
const onSingUp = () => {
44-
navigate(config.SIGN_UP_URL);
43+
const onSignUp = () => {
44+
window.location.href = config.SIGN_UP_URL
4545
};
4646

4747
const onBack = () => {
@@ -70,7 +70,7 @@ const LoginPrompt = ({
7070
LOG IN
7171
</Button>
7272
<span className={styles["separator"]}>OR</span>
73-
<Button size={BUTTON_SIZE.MEDIUM} onClick={onSingUp}>
73+
<Button size={BUTTON_SIZE.MEDIUM} onClick={onSignUp}>
7474
SIGN UP
7575
</Button>
7676
</div>

0 commit comments

Comments
 (0)