[chore] added prettier

This commit is contained in:
Jori Lallo
2017-04-26 21:47:03 -07:00
parent fcdeb67bc5
commit 08b1609440
53 changed files with 1983 additions and 928 deletions

View File

@@ -40,7 +40,7 @@ class UserStore {
const state = Math.random().toString(36).substring(7);
this.oauthState = state;
return this.oauthState;
}
};
@action authWithSlack = async (code, state, redirectTo) => {
if (state !== this.oauthState) {
@@ -60,7 +60,7 @@ class UserStore {
this.team = res.data.team;
this.token = res.data.accessToken;
browserHistory.replace(redirectTo || '/');
}
};
constructor() {
// Rehydrate
@@ -73,6 +73,4 @@ class UserStore {
}
export default UserStore;
export {
USER_STORE,
};
export { USER_STORE };