diff options
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -306,7 +306,7 @@ function useCount() { let Count = createContainer(useCount) function useCounter() { - let [count, setCount] = Counter.useContainer() + let [count, setCount] = Count.useContainer() let decrement = () => setCount(count - 1) let increment = () => setCount(count + 1) let reset = () => setCount(0) |