mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
debug missing argument
This commit is contained in:
@@ -40,7 +40,6 @@ export function clearNewArticle () {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export function updateArticle (article) {
|
||||
return {
|
||||
type: ARTICLE_UPDATE,
|
||||
|
||||
@@ -54,7 +54,7 @@ function user (state = initialUser, action) {
|
||||
switch (action.type) {
|
||||
case USER_UPDATE:
|
||||
let updated = Object.assign(state, action.data)
|
||||
dataStore.saveUser(updated)
|
||||
dataStore.saveUser(null, updated)
|
||||
return updated
|
||||
default:
|
||||
return state
|
||||
|
||||
Reference in New Issue
Block a user