Fix typo in Theatric readme
This commit is contained in:
parent
1744dc28f4
commit
a0eeab7b69
1 changed files with 1 additions and 1 deletions
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue