Fix typo in Theatric readme

This commit is contained in:
Andrew Prifer 2023-01-24 16:48:16 +01:00
parent 1744dc28f4
commit a0eeab7b69

View file

@ -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 (