diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } } |