mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 03:50:40 +00:00
fix: add key to add cards container
This commit is contained in:
parent
4ea5133e57
commit
57ac9c6551
@ -10,8 +10,8 @@ const AddCardsContainer = () => {
|
||||
return (
|
||||
<DashboardCardWrapper padding="0" minWidth="150px">
|
||||
<YStack height={'100%'}>
|
||||
{Array.from({ length: cards }).map(() => (
|
||||
<AddCard style={{ padding: '56px', height: getHeightPercentages(cards) }} />
|
||||
{Array.from({ length: cards }).map((_, index) => (
|
||||
<AddCard key={index} style={{ padding: '56px', height: getHeightPercentages(cards) }} />
|
||||
))}
|
||||
</YStack>
|
||||
</DashboardCardWrapper>
|
||||
|
Loading…
x
Reference in New Issue
Block a user