We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37f29e1 + 98c97f7 commit ed0455eCopy full SHA for ed0455e
src/routes/LoginPrompt/index.jsx
@@ -37,11 +37,11 @@ const LoginPrompt = ({
37
}, [isLoggedIn]);
38
39
const onLogin = () => {
40
- navigate(config.SIGN_IN_URL);
+ window.location.href = config.SIGN_IN_URL
41
};
42
43
- const onSingUp = () => {
44
- navigate(config.SIGN_UP_URL);
+ const onSignUp = () => {
+ window.location.href = config.SIGN_UP_URL
45
46
47
const onBack = () => {
@@ -70,7 +70,7 @@ const LoginPrompt = ({
70
LOG IN
71
</Button>
72
<span className={styles["separator"]}>OR</span>
73
- <Button size={BUTTON_SIZE.MEDIUM} onClick={onSingUp}>
+ <Button size={BUTTON_SIZE.MEDIUM} onClick={onSignUp}>
74
SIGN UP
75
76
</div>
0 commit comments