1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +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) { export function updateArticle (article) {
return { return {
type: ARTICLE_UPDATE, type: ARTICLE_UPDATE,

View File

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