Skip to content

Commit c2d1293

Browse files
Craig Wrighttimche
Craig Wright
authored andcommitted
Correcting the syntax of object declarations. (#96)
Missing commas as described in issue #95.
1 parent b9d5eb7 commit c2d1293

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const increment = createAction('INCREMENT');
5656

5757
// As parameter in handleAction:
5858
handleAction(increment, {
59-
next(state, action) {...}
59+
next(state, action) {...},
6060
throw(state, action) {...}
6161
});
6262

@@ -88,7 +88,7 @@ Otherwise, you can specify separate reducers for `next()` and `throw()`. This AP
8888

8989
```js
9090
handleAction('FETCH_DATA', {
91-
next(state, action) {...}
91+
next(state, action) {...},
9292
throw(state, action) {...}
9393
});
9494
```

0 commit comments

Comments
 (0)