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

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