Skip to content

Commit

Permalink
make example more interesting
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Dec 28, 2023
1 parent c1d4dc2 commit 2d23dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/zustand/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface Store {

const useStore = createUseStore((pageContext: PageContext) =>
create<Store>()((set, get) => ({
counter: 0,
counter: Math.floor(10000 * Math.random()),
setCounter(value) {
set({ counter: value })
},
Expand Down

0 comments on commit 2d23dbe

Please sign in to comment.