Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

Commit

Permalink
Remove extra paren in withState example (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustinLF authored and istarkov committed Jun 20, 2017
1 parent a6fe138 commit 2034d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const addCounting = compose(
increment: ({ setCounter }) => () => setCounter(n => n + 1),
decrement: ({ setCounter }) => () => setCounter(n => n - 1),
reset: ({ setCounter }) => () => setCounter(0)
}))
})
)
```

Expand Down

0 comments on commit 2034d90

Please sign in to comment.