From 2921c17cbf0418098ee2d273e32948f83c749d53 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Wed, 28 May 2025 19:33:18 +0200 Subject: [PATCH] fix(ui): new card data state is not updating --- .../components/Dashboard/components/WidgetView/WidgetView.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx b/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx index d59e4e32a..203b7599b 100644 --- a/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx +++ b/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx @@ -71,7 +71,6 @@ function WidgetView({ const params = new URLSearchParams(location.search); const mk = params.get('mk'); if (mk) { - metricStore.init(); const selectedCard = CARD_LIST(t).find((c) => c.key === mk) as CardType; if (selectedCard) { const cardData: any = {