Commit 32a08047 authored by zhangshize's avatar zhangshize

fix: fix in match side

parent 1cce4706
Pipeline #23375 passed with stages
in 12 minutes and 31 seconds
......@@ -115,7 +115,7 @@ export const Component: React.FC = () => {
cards={[...deck[type]].map((id) => fetchCard(id))}
canAdd={canAdd}
onChange={onChange}
onElementClick={(card) => setSelectedCard(card.id)}
onElementMouseUp={(event) => setSelectedCard(event.card.id)}
/>
))}
</ScrollableArea>
......
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