Revert "fix(ui): new card data state is not updating"
This reverts commit 2921c17cbf.
This commit is contained in:
parent
2921c17cbf
commit
c6f7de04cc
1 changed files with 1 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue