From 75230d72ec7ba6cc17b5497d07a43185c38f87e5 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 b7d03d83e..8ef38d6b1 100644 --- a/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx +++ b/frontend/app/components/Dashboard/components/WidgetView/WidgetView.tsx @@ -72,7 +72,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 = {