From 260ed8ac19f368b26b27e42e4450bb9698d485dd Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Tue, 28 Jan 2025 10:59:14 +0100 Subject: [PATCH] ui: better naming for lstorage key --- .../components/Dashboard/components/WidgetView/WidgetView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx b/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx index 6a6b05674..67b5d1758 100644 --- a/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx +++ b/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx @@ -33,7 +33,7 @@ interface Props { siteId: any; } -const LAYOUT_KEY = '$__layout__$' +const LAYOUT_KEY = '$__metric_form__layout__$' function getDefaultState() { const layout = localStorage.getItem(LAYOUT_KEY)