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