Prevent from mapping over undefined (#1457)

This commit is contained in:
Łukasz Szewczyk 2021-10-01 14:23:01 +02:00 committed by GitHub
parent d03bf9c791
commit 6ddb537445
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>