aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/UserStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r--src/stores/UserStore.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js
index 09000dcdb..3a43668a7 100644
--- a/src/stores/UserStore.js
+++ b/src/stores/UserStore.js
@@ -237,7 +237,9 @@ export default class UserStore extends Store {
237 && currentRoute.includes(this.BASE_ROUTE) 237 && currentRoute.includes(this.BASE_ROUTE)
238 && (this.hasCompletedSignup 238 && (this.hasCompletedSignup
239 || this.hasCompletedSignup === null)) { 239 || this.hasCompletedSignup === null)) {
240 this.stores.router.push('/'); 240 if (!isDevMode) {
241 this.stores.router.push('/');
242 }
241 } 243 }
242 }; 244 };
243 245