fix doc typo (#1932)

Co-authored-by: anhdoecourier <tdo@e-courier.com>
This commit is contained in:
Tuan Anh 2023-07-15 13:18:44 +07:00 committed by GitHub
parent f73736d59a
commit 642b0bc055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,12 +149,12 @@ const useFishStore = create((set) => ({
```jsx
const useSoundStore = create((set, get) => ({
sound: "grunt",
sound: 'grunt',
action: () => {
const sound = get().sound
// ...
}
})
},
}))
```
## Reading/writing state and reacting to changes outside of components