👌 mark comment on routes.jsx as TODO
This commit is contained in:
parent
597cb9baf9
commit
7604e27c40
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ const checkAuth = (store) => {
|
||||||
store.dispatch(getUser());
|
store.dispatch(getUser());
|
||||||
};
|
};
|
||||||
|
|
||||||
// This short-circuit seems unnecessary - using the mobile <Switch /> navigator (future) should prevent this from being called
|
// TODO: This short-circuit seems unnecessary - using the mobile <Switch /> navigator (future) should prevent this from being called
|
||||||
const onRouteChange = (store) => {
|
const onRouteChange = (store) => {
|
||||||
const path = window.location.pathname;
|
const path = window.location.pathname;
|
||||||
if (path.includes('/mobile')) return;
|
if (path.includes('/mobile')) return;
|
||||||
|
|
Loading…
Reference in a new issue