Skip to content

Commit ed0455e

Browse files
Merge pull request #121 from topcoder-platform/PROD-2194_fix-bug
PROD-2194 bug on login prompt -> dev
2 parents 37f29e1 + 98c97f7 commit ed0455e

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)