Commit 946e2750 authored by Chunchi Che's avatar Chunchi Che

fix small

parent 409b9de6
......@@ -38,9 +38,10 @@ const CardModal = () => {
<Meta title={name} />
<p>{desc}</p>
</Card>
{interactivies.map((interactive) => {
{interactivies.map((interactive, idx) => {
return (
<Button
key={idx}
onClick={() => {
sendSelectIdleCmdResponse(interactive.response);
dispatch(setCardModalIsOpen(false));
......
......@@ -19,7 +19,7 @@ const DuelHands = () => {
return (
<>
{hands.map((hand, idx) => {
return <DuelHand state={hand} idx={idx} />;
return <DuelHand state={hand} idx={idx} key={idx} />;
})}
</>
);
......
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