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
@@ -234,7 +234,7 @@ export const DefaultCard = ({
</ImageContainer>
<DetailContainer>
<Stack spacing="sm">
{controls.cardRows.map((row, index) => (
{(controls?.cardRows || []).map((row, index) => (
<Skeleton
key={`${index}-${columnIndex}-${row.arrayProperty}`}
visible