👌 mark comment on routes.jsx as TODO

This commit is contained in:
ghalestrilo 2020-06-29 14:30:34 -03:00
parent 597cb9baf9
commit 7604e27c40
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ const checkAuth = (store) => {
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 path = window.location.pathname;
if (path.includes('/mobile')) return;