Skip to content

Commit

Permalink
Merge branch 'main' into chore/cjs-to-esm-rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
sukvvon authored Jan 7, 2025
2 parents a80bdd9 + 929b547 commit ef38224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apis/create-store.md
Original file line number Diff line number Diff line change
@@ -242,7 +242,7 @@ import { createStore } from 'zustand/vanilla'

type PositionStore = [number, number]

const positionStore = create<PositionStore>()(() => [0, 0])
const positionStore = createStore<PositionStore>()(() => [0, 0])

const $dotContainer = document.getElementById('dot-container') as HTMLDivElement
const $dot = document.getElementById('dot') as HTMLDivElement

0 comments on commit ef38224

Please sign in to comment.