Commit 4d239811 authored by timel's avatar timel

fix: no key in Deck component

parent 81fccb17
......@@ -108,7 +108,7 @@ const Deck: React.FC<{
</Space>
<ScrollableArea className={styles["deck-zone"]}>
{(["main", "extra", "side"] as const).map((type) => (
<div className={styles[type]}>
<div key={type} className={styles[type]}>
<div className={styles["card-continer"]}>
{editingDeck[type].map((code, i) => (
<div className={styles.card} key={i}>
......
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