mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
Fix duplicate keys on grid skeletons
This commit is contained in:
@@ -225,9 +225,9 @@ export const DefaultCard = ({
|
||||
</ImageContainer>
|
||||
<DetailContainer>
|
||||
<Stack spacing="sm">
|
||||
{controls.cardRows.map((row) => (
|
||||
{controls.cardRows.map((row, index) => (
|
||||
<Skeleton
|
||||
key={row.arrayProperty}
|
||||
key={`${index}-${columnIndex}-${row.arrayProperty}`}
|
||||
visible
|
||||
height={14}
|
||||
radius="sm"
|
||||
|
||||
@@ -208,9 +208,9 @@ export const PosterCard = ({
|
||||
</Skeleton>
|
||||
<DetailContainer>
|
||||
<Stack spacing="sm">
|
||||
{controls.cardRows.map((row) => (
|
||||
{controls.cardRows.map((row, index) => (
|
||||
<Skeleton
|
||||
key={row.arrayProperty}
|
||||
key={`${index}-${columnIndex}-${row.arrayProperty}`}
|
||||
visible
|
||||
height={14}
|
||||
radius="sm"
|
||||
|
||||
Reference in New Issue
Block a user