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.
1 parent 776c3d2 commit eb3bc59Copy full SHA for eb3bc59
client/routes.jsx
@@ -22,10 +22,11 @@ const checkAuth = (store) => {
22
store.dispatch(getUser());
23
};
24
25
+// This short-circuit seems unnecessary - using the mobile <Switch /> navigator (future) should prevent this from being called
26
const onRouteChange = (store) => {
- // FIXME: This seems unnecessary - using the mobile <Switch /> navigator should prevent this from being called
27
const path = window.location.pathname;
28
if (path.includes('/mobile')) return;
29
+
30
store.dispatch(stopSketch());
31
32
0 commit comments