aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/UserStore.js
diff options
context:
space:
mode:
authorLibravatar haraldox <hnaumann+github@gmail.com>2018-02-02 19:55:18 +0100
committerLibravatar haraldox <hnaumann+github@gmail.com>2018-02-02 19:55:18 +0100
commitabeea5bd26ce3bee9a0e1368f4934df035587bf5 (patch)
tree16222ed2fb9489fdbc03178ed6a42bb363fd887b /src/stores/UserStore.js
parentfinished embedded invite functionality (diff)
downloadferdium-app-abeea5bd26ce3bee9a0e1368f4934df035587bf5.tar.gz
ferdium-app-abeea5bd26ce3bee9a0e1368f4934df035587bf5.tar.zst
ferdium-app-abeea5bd26ce3bee9a0e1368f4934df035587bf5.zip
fix linting errors
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r--src/stores/UserStore.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js
index 54627440a..abec4df5d 100644
--- a/src/stores/UserStore.js
+++ b/src/stores/UserStore.js
@@ -8,8 +8,6 @@ import Request from './lib/Request';
8import CachedRequest from './lib/CachedRequest'; 8import CachedRequest from './lib/CachedRequest';
9import { gaEvent } from '../lib/analytics'; 9import { gaEvent } from '../lib/analytics';
10 10
11import { matchPath } from 'react-router'
12
13// TODO: split stores into UserStore and AuthStore 11// TODO: split stores into UserStore and AuthStore
14export default class UserStore extends Store { 12export default class UserStore extends Store {
15 BASE_ROUTE = '/auth'; 13 BASE_ROUTE = '/auth';
@@ -168,7 +166,7 @@ export default class UserStore extends Store {
168 166
169 const response = await this.inviteRequest.execute(data)._promise; 167 const response = await this.inviteRequest.execute(data)._promise;
170 168
171 this.actionStatus = response.status || [] 169 this.actionStatus = response.status || [];
172 170
173 // we do not wait for a server response before redirecting the user ONLY DURING SIGNUP 171 // we do not wait for a server response before redirecting the user ONLY DURING SIGNUP
174 if (this.stores.router.location.pathname.includes(this.INVITE_ROUTE)) { 172 if (this.stores.router.location.pathname.includes(this.INVITE_ROUTE)) {