Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Shekar Siri
b87fe06a93 fix(ui): new card data state is not updating 2025-05-28 19:48:39 +02:00

View file

@ -71,7 +71,6 @@ function WidgetView({
const params = new URLSearchParams(location.search); const params = new URLSearchParams(location.search);
const mk = params.get('mk'); const mk = params.get('mk');
if (mk) { if (mk) {
metricStore.init();
const selectedCard = CARD_LIST(t).find((c) => c.key === mk) as CardType; const selectedCard = CARD_LIST(t).find((c) => c.key === mk) as CardType;
if (selectedCard) { if (selectedCard) {
const cardData: any = { const cardData: any = {