mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
there is a typo mistake while importing the setposition from positionstore wrong : const setPosition = useStore(positionStore, (state) => state.setPositionStore) correct : const setPosition = useStore(positionStore, (state) => state.setPosition)