mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-17 20:32:11 +00:00
fix: incorrect cardId
This commit is contained in:
@@ -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>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user