Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unused variable

dominik-zeglencc9b9485d51c
diff --git a/saleor/static/dashboard-next/products/views/ProductVariant.tsx b/saleor/static/dashboard-next/products/views/ProductVariant.tsx
index 1122310352..865048561f 100644
--- a/saleor/static/dashboard-next/products/views/ProductVariant.tsx
+++ b/saleor/static/dashboard-next/products/views/ProductVariant.tsx
@@ -126,7 +126,6 @@ export const ProductVariant: React.StatelessComponent<ProductUpdateProps> = ({
costPrice: decimal(data.costPrice),
id: variantId,
priceOverride: decimal(data.priceOverride),
- product: productId,
quantity: data.stock,
sku: data.sku,
trackInventory: true // FIXME: missing in UI