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