Added UI store with sidebar toggling

This commit is contained in:
Jori Lallo
2016-07-15 00:26:34 -07:00
parent a11caae4a9
commit 0493a35824
6 changed files with 57 additions and 18 deletions

View File

@@ -64,7 +64,7 @@ class UserStore {
constructor() {
// Rehydrate
const data = JSON.parse(localStorage.getItem(USER_STORE)) || {};
const data = JSON.parse(localStorage.getItem(USER_STORE) || '{}');
this.user = data.user;
this.team = data.team;
this.token = data.token;