mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
fix lint
This commit is contained in:
parent
dc85e938bd
commit
2c6c2adb74
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ const withProtectedRoutes = (Component) => {
|
|||
window.location = '#/intro';
|
||||
}
|
||||
previousProfileRef.current = profile;
|
||||
}, [profile])
|
||||
}, [profile]);
|
||||
const onRouteChange = React.useCallback((routeConfig) => {
|
||||
if (profile.auth !== null && routeConfig.component === Intro) {
|
||||
window.location.replace('#/');
|
||||
|
|
|
|||
Loading…
Reference in a new issue