fix(ui): new card data state is not updating

This commit is contained in:
Shekar Siri 2025-05-28 19:33:18 +02:00
parent 7eb3f5c4c8
commit 2921c17cbf

View file

@ -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 = {