fix: null -> undefined for StandaloneCanvas.floorMap

This commit is contained in:
Pranjal Joshi
2026-07-02 10:33:57 +05:30
parent 8821b05b7b
commit 046c99e219
+1 -1
View File
@@ -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