mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
USER auto refresh
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user