Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi authored Feb 11, 2021
1 parent 1528cce commit 22ad473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ import { unstable_batchedUpdates } from 'react-dom' // or 'react-native'

const useStore = create((set) => ({
fishes: 0,
increaseFishes: () => set((prev) => ({ fished: prev.fished + 1 }))
increaseFishes: () => set((prev) => ({ fishes: prev.fishes + 1 }))
}))

const nonReactCallback = () => {
Expand Down

0 comments on commit 22ad473

Please sign in to comment.