fix: incorrect cardId

This commit is contained in:
tigattack
2025-09-25 01:56:22 +01:00
parent 22f6befc89
commit 469107c149
2 changed files with 3 additions and 3 deletions

View File

@@ -1154,11 +1154,11 @@ const Dashboard = () => {
<>
{cardGroups.map((group, groupIndex) => (
<div
key={`${group.type}-${group.cards[0]?.cardId || groupIndex}`}
key={`group-${group.type}-${groupIndex}`}
className={getGroupClassName(group.type)}
>
{group.cards.map((card, cardIndex) => (
<div key={`${groupIndex}-${card.cardId}-${cardIndex}`}>
<div key={`card-${card.cardId}-${groupIndex}-${cardIndex}`}>
{renderCard(card.cardId)}
</div>
))}