mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
push root path when logged in
This commit is contained in:
parent
948ff51d3b
commit
9f9db380e9
1 changed files with 2 additions and 2 deletions
|
|
@ -142,7 +142,7 @@ const Intro = ({ queryParams }) => {
|
|||
action: 'Logout'
|
||||
}
|
||||
});
|
||||
window.location.replace('#/');
|
||||
window.location = '#/';
|
||||
}, [state.termsAccepted]);
|
||||
const signup = React.useCallback(() => {
|
||||
if (typeof state.email !== 'string' || state.email.length === 0 || !emailRef.current.validity.valid) {
|
||||
|
|
@ -252,7 +252,7 @@ const Intro = ({ queryParams }) => {
|
|||
switch (event) {
|
||||
case 'UserAuthenticated': {
|
||||
closeLoaderModal();
|
||||
window.location.replace('#/');
|
||||
window.location = '#/';
|
||||
break;
|
||||
}
|
||||
case 'Error': {
|
||||
|
|
|
|||
Loading…
Reference in a new issue