From a0eeab7b6932e25ba97a6569ef314dd7c3f43d5b Mon Sep 17 00:00:00 2001 From: Andrew Prifer Date: Tue, 24 Jan 2023 16:48:16 +0100 Subject: [PATCH] Fix typo in Theatric readme --- packages/theatric/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (