Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc805071

Browse files
committed
update async example for new API
1 parent40765f4 commitc805071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const initReducer = (state = {error: null, users: []}, action) => {
119119
returnloop(
120120
// return the next state of the store
121121
// and transition to the IN_PROGRESS status
122-
Object.assign({}, state, {error:null,[become]:'IN_PROGRESS'}),
122+
Object.assign({}, state, {error:null,status:'IN_PROGRESS'}),
123123
// pass getUsers to the redux-loop middleware
124124
// The redux-loop middleware will call getUsers(), which
125125
// will dispatch a 'FETCH_USERS_RESPONSE' action

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp