Fix card row array id assignment

This commit is contained in:
jeffvli 2023-01-08 20:55:36 -08:00
parent b4e9f48667
commit 6da8663a1d

View file

@ -59,7 +59,7 @@ export const CardRows = ({ data, rows }: CardRowsProps) => {
row.route!.slugs?.reduce((acc, slug) => {
return {
...acc,
[slug.slugProperty]: data[slug.idProperty],
[slug.slugProperty]: data[row.property][itemIndex][slug.idProperty],
};
}, {}),
)}