Skip to content

Commit 6ef3690

Browse files
chriskwanmarkerikson
authored andcommitted
Fix typo in createReducer example in "Using Action Creators as Action Types" section (#111)
1 parent 04cdb02 commit 6ef3690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/usage-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ console.log(actionCreator.toString())
306306
console.log(actionCreator.type);
307307
// "SOME_ACTION_TYPE"
308308

309-
const reducer = createReducer((}, {
309+
const reducer = createReducer({}, {
310310
// actionCreator.toString() will automatically be called here
311311
[actionCreator] : (state, action) => {}
312312

0 commit comments

Comments
 (0)