aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 24f3945..9686534 100644
--- a/README.md
+++ b/README.md
@@ -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)