1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

debug missing argument

This commit is contained in:
Rokt33r
2015-12-03 12:15:07 +09:00
parent 182af99e7c
commit aa32f59dc6
2 changed files with 1 additions and 2 deletions

View File

@@ -40,7 +40,6 @@ export function clearNewArticle () {
}
}
export function updateArticle (article) {
return {
type: ARTICLE_UPDATE,

View File

@@ -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