Commit 52e966b5 authored by timel's avatar timel

fix: onFieldClick

parent 15da6884
...@@ -158,7 +158,7 @@ const onCardClick = (card: CardType) => { ...@@ -158,7 +158,7 @@ const onCardClick = (card: CardType) => {
} }
}; };
const onFieldClick = (card: CardType) => () => { const onFieldClick = (card: CardType) => {
const displayStates = cardStore.at(card.zone, card.controller); const displayStates = cardStore.at(card.zone, card.controller);
messageStore.cardListModal.list = displayStates.map((item) => ({ messageStore.cardListModal.list = displayStates.map((item) => ({
meta: { meta: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment