Skip to content

Commit 35dea47

Browse files
committed
fix(readme): touchup
1 parent 1360c91 commit 35dea47

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
@@ -41,11 +41,11 @@ from the original action.
4141
```
4242
...
4343
{
44-
[ADD_TODO]: (prevState, nextState, action) => {
44+
[ADD_TODO]: (prevState, nextState, action, undoing) => {
4545
const { value } = action.payload;
4646
return attemptRemoveTodo(value);
4747
},
48-
[REMOVE_TODO]: (prevState, nextState, action) => {
48+
[REMOVE_TODO]: (prevState, nextState, action, undoing) => {
4949
const { payload } = action;
5050
const { value, done } = getTodo(prevState, payload);
5151
return attemptAddTodo({ value, done, index: payload });

0 commit comments

Comments
 (0)