fix: Final TypeScript fixes
Signed-off-by: Hermes Agent <hermes@nosuchhost>
This commit is contained in:
@@ -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 }),
|
||||
|
||||
Reference in New Issue
Block a user