From 046c99e219d0c29696b56b6d1704c4c50f6a1460 Mon Sep 17 00:00:00 2001 From: Pranjal Joshi Date: Thu, 2 Jul 2026 10:33:57 +0530 Subject: [PATCH] fix: null -> undefined for StandaloneCanvas.floorMap --- frontend/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 39dc6bb..a635774 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -93,7 +93,7 @@ export default function App() { const saveDesignId = designIdOverride ?? activeDesignId if (STANDALONE) { if (!saveDesignId) return false - standaloneStorage.saveCanvas(saveDesignId, { nodes, edges, theme_id: activeTheme, custom_style: customStyle, floorMap }) + standaloneStorage.saveCanvas(saveDesignId, { nodes, edges, theme_id: activeTheme, custom_style: customStyle, floorMap: floorMap ?? undefined }) markSaved() toast.success('Canvas saved') return true