diff --git a/src/components/dashboards/dashboard-builder.tsx b/src/components/dashboards/dashboard-builder.tsx index 6319298..1e3a724 100644 --- a/src/components/dashboards/dashboard-builder.tsx +++ b/src/components/dashboards/dashboard-builder.tsx @@ -597,6 +597,18 @@ export function DashboardBuilder({ dashboardId, editable = true, mode = "edit" } next.add(key) } }) + if (next.size === prev.size) { + let differs = false + for (const key of next) { + if (!prev.has(key)) { + differs = true + break + } + } + if (!differs) { + return prev + } + } return next }) }, [canvasItems])