Handle potential undefined value on CardRows (#834)

This commit is contained in:
jeffvli
2024-11-18 20:17:33 -08:00
parent b65c972da1
commit 6a619240fa
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ export const PosterCard = ({
</Skeleton>
<DetailContainer>
<Stack spacing="sm">
{controls.cardRows.map((row, index) => (
{(controls?.cardRows || []).map((row, index) => (
<Skeleton
key={`${index}-${row.arrayProperty}`}
visible