diff --git a/locale/defaultMessages.json b/locale/defaultMessages.json index e0f9d7b51..435914cf8 100644 --- a/locale/defaultMessages.json +++ b/locale/defaultMessages.json @@ -316,19 +316,11 @@ }, "productVariantWarehouseSectionDescription": { "context": "no warehouses info", - "string": "There are no warehouses set up for your store. To add stock quantity to the variant please {configureWarehouseUrl}" - }, - "productVariantWarehouseSectionDescriptionLink": { - "context": "no warehouses info", - "string": "configure a warehouse" + "string": "There are no warehouses set up for your store. To add stock quantity to the variant please configure a warehouse" }, "productWarehouseSectionDescription": { "context": "no warehouses info", - "string": "There are no warehouses set up for your store. To add stock quantity to the product please {configureWarehouseUrl}" - }, - "productWarehouseSectionDescriptionLink": { - "context": "no warehouses info", - "string": "configure a warehouse" + "string": "There are no warehouses set up for your store. To add stock quantity to the product please configure a warehouse" }, "saleDetailsPageCategoriesQuantity": { "context": "number of categories", diff --git a/src/products/components/ProductStocks/ProductStocks.tsx b/src/products/components/ProductStocks/ProductStocks.tsx index 81ed77dc1..9a8d430db 100644 --- a/src/products/components/ProductStocks/ProductStocks.tsx +++ b/src/products/components/ProductStocks/ProductStocks.tsx @@ -191,18 +191,12 @@ const ProductStocks: React.FC = ({ {hasVariants ? ( <> - - + a: chunks => ( + {chunks} ) }} /> @@ -210,18 +204,12 @@ const ProductStocks: React.FC = ({ ) : ( <> - - + a: chunks => ( + {chunks} ) }} />