aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers')
-rw-r--r--src/containers/layout/AppLayoutContainer.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/containers/layout/AppLayoutContainer.js b/src/containers/layout/AppLayoutContainer.js
index 536083c4f..c70144c8e 100644
--- a/src/containers/layout/AppLayoutContainer.js
+++ b/src/containers/layout/AppLayoutContainer.js
@@ -40,8 +40,18 @@ class AppLayoutContainer extends Component {
40 requests, 40 requests,
41 user, 41 user,
42 workspaces, 42 workspaces,
43 router
43 } = this.props.stores; 44 } = this.props.stores;
44 45
46 /* HOTFIX for:
47 [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[bound ]' TypeError: Cannot read properties of null (reading 'push')
48 at RouterStore.push (store.js:25)
49 at UserStore._requireAuthenticatedUser
50 */
51 if (!user.isLoggedIn) {
52 router.push('/auth/welcome');
53 }
54
45 const { 55 const {
46 setActive, 56 setActive,
47 handleIPCMessage, 57 handleIPCMessage,