Skip to content

Commit

Permalink
fix: set product item key
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJiang2021 authored and kris-liu-smile committed Nov 22, 2022
1 parent cfc70d8 commit 87b2a77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const OrderProduct = (props: OrderProductProps) => {
{product.sku}
</Typography>
{(product.product_options || []).map((option: OrderProductOption) => (
<ProductOptionText>{`${option.display_name}: ${option.display_value}`}</ProductOptionText>
<ProductOptionText key={`${option.option_id}`}>{`${option.display_name}: ${option.display_value}`}</ProductOptionText>
))}
</Box>
</FlexItem>
Expand Down

0 comments on commit 87b2a77

Please sign in to comment.