diff --git a/packages/theatric/README.md b/packages/theatric/README.md index 66c6cf8..9f9d448 100644 --- a/packages/theatric/README.md +++ b/packages/theatric/README.md @@ -73,7 +73,7 @@ function Introduction() { const {name, age, $get, $set} = useControls({name: 'Andrew', age: 28}) const increaseAge = useCallback(() => { - $set((values) => values.age, $get(age + 1)) + $set((values) => values.age, $get(values.age + 1)) }, [$get, $set]) return (