summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3931a53..7ad6ba6 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@ render(<App />, document.getElementById("root"))
import { createContainer } from "unstated-next"
function useCustomHook() {
- let [value, setInput] = useState()
+ let [value, setValue] = useState()
let onChange = e => setValue(e.currentTarget.value)
return { value, onChange }
}