docs: migration docs typo (3.8 -> 3.9, useViewportGridStore()) (#4675)

This commit is contained in:
Joeycho authored and GitHub committed 2025-01-13 09:00:13 -05:00
1 parent 7a13c28eb3
commit 9b04020a87
1 file changed
+1 -1
@@ -142,7 +142,7 @@ stateSyncService.store({
```js
import { useViewportGridStore } from '../stores/useViewportGridStore';
const { viewportGridState, setViewportGridState } = useViewportGridStore();
const { viewportGridState, setViewportGridState } = useViewportGridStore.getState();
const gridState = viewportGridState[storeId];
// ...to update
setViewportGridState(storeId, newGridState);