Prevent from mapping over undefined (#1457)
This commit is contained in:
parent
d03bf9c791
commit
6ddb537445
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ const AssignVariantDialog: React.FC<AssignVariantDialogProps> = props => {
|
|||
<ResponsiveTable key="table">
|
||||
<TableBody>
|
||||
{renderCollection(
|
||||
products,
|
||||
productChoices,
|
||||
(product, productIndex) => (
|
||||
<React.Fragment key={product ? product.id : "skeleton"}>
|
||||
<TableRow>
|
||||
|
|
Loading…
Reference in a new issue