1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

USER auto refresh

This commit is contained in:
Rokt33r
2015-10-18 20:18:16 +09:00
parent 88ee94d4b6
commit 0bdb8142c6
4 changed files with 13 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ function getInitialArticles () {
function currentUser (state, action) {
switch (action.type) {
case USER_UPDATE:
let user = action.data
let user = action.data.user
return auth.user(user)
default: