diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-02-02 19:55:18 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-02-02 19:55:18 +0100 |
commit | abeea5bd26ce3bee9a0e1368f4934df035587bf5 (patch) | |
tree | 16222ed2fb9489fdbc03178ed6a42bb363fd887b /src/stores | |
parent | finished embedded invite functionality (diff) | |
download | ferdium-app-abeea5bd26ce3bee9a0e1368f4934df035587bf5.tar.gz ferdium-app-abeea5bd26ce3bee9a0e1368f4934df035587bf5.tar.zst ferdium-app-abeea5bd26ce3bee9a0e1368f4934df035587bf5.zip |
fix linting errors
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/UserStore.js | 4 |
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'; | |||
8 | import CachedRequest from './lib/CachedRequest'; | 8 | import CachedRequest from './lib/CachedRequest'; |
9 | import { gaEvent } from '../lib/analytics'; | 9 | import { gaEvent } from '../lib/analytics'; |
10 | 10 | ||
11 | import { matchPath } from 'react-router' | ||
12 | |||
13 | // TODO: split stores into UserStore and AuthStore | 11 | // TODO: split stores into UserStore and AuthStore |
14 | export default class UserStore extends Store { | 12 | export 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)) { |