Add missing key
This commit is contained in:
parent
a436b13372
commit
e4505cf427
1 changed files with 3 additions and 3 deletions
|
@ -36,8 +36,8 @@ const ProductVariantCreatorValues: React.FC<ProductVariantCreatorValuesProps> =
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{attributes.map(attribute => (
|
{attributes.map(attribute => (
|
||||||
<>
|
<React.Fragment key={attribute.id}>
|
||||||
<Card key={attribute.id}>
|
<Card>
|
||||||
<CardTitle title={attribute?.name || <Skeleton />} />
|
<CardTitle title={attribute?.name || <Skeleton />} />
|
||||||
<CardContent className={classes.valueContainer}>
|
<CardContent className={classes.valueContainer}>
|
||||||
{attribute.values.map(value => (
|
{attribute.values.map(value => (
|
||||||
|
@ -65,7 +65,7 @@ const ProductVariantCreatorValues: React.FC<ProductVariantCreatorValuesProps> =
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
<CardSpacer />
|
<CardSpacer />
|
||||||
</>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue