fix: dashboard edit mode renders live widgets

This commit is contained in:
ginnoir
2026-07-04 18:10:55 -05:00
parent 02b6ec6adb
commit 7eeb2f15bc
5 changed files with 91 additions and 7 deletions
+4
View File
@@ -10,6 +10,10 @@ export type WidgetPlacement = {
h: number;
};
export function widgetContentKey(placement: Pick<WidgetPlacement, "widgetId" | "config">): string {
return `${placement.widgetId}::${JSON.stringify(placement.config)}`;
}
export type DashboardLayout = {
version: 1;
widgets: WidgetPlacement[];