Skip to content

Commit aa32f59

Browse files
committed
debug missing argument
1 parent 182af99 commit aa32f59

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lib/actions.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export function clearNewArticle () {
4040
}
4141
}
4242

43-
4443
export function updateArticle (article) {
4544
return {
4645
type: ARTICLE_UPDATE,

lib/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function user (state = initialUser, action) {
5454
switch (action.type) {
5555
case USER_UPDATE:
5656
let updated = Object.assign(state, action.data)
57-
dataStore.saveUser(updated)
57+
dataStore.saveUser(null, updated)
5858
return updated
5959
default:
6060
return state

0 commit comments

Comments
 (0)