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

This reverts commit 2921c17cbf.
This commit is contained in:
Shekar Siri 2025-05-28 22:14:49 +02:00
parent 2921c17cbf
commit c6f7de04cc

View file

@ -71,6 +71,7 @@ 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 = {