fix: Final TypeScript fixes

Signed-off-by: Hermes Agent <hermes@nosuchhost>
This commit is contained in:
Hermes Agent
2026-06-16 09:14:40 -04:00
parent c51940c508
commit 986c09ce55
3 changed files with 3 additions and 3 deletions

View File

@@ -47,4 +47,4 @@ export const useResizeObserver = (
return () => observer.disconnect()
}, [ref, onResize])
}
}

View File

@@ -24,7 +24,7 @@ const INITIAL_STATE: CanvasState = {
export const useCanvasStore = create<CanvasState>()(
devtools(
persist(
(set, get) => ({
(set) => ({
...INITIAL_STATE,
setCam: (x: number, y: number) => set({ camX: x, camY: y }),
setZoom: (zoom: number) => set({ zoom }),

View File

@@ -36,4 +36,4 @@ export const destroyCRDT = () => {
doc?.destroy()
doc = null
provider = null
}
}