@atomsolution/sdk-merchant 1.6.6 → 1.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/batch-product-creation.cjs +2 -1
- package/dist/batch-product-creation.cjs.map +1 -1
- package/dist/batch-product-creation.esm.js +2 -1
- package/dist/batch-product-creation.esm.js.map +1 -1
- package/dist/batch-product-creation.js +2 -1
- package/dist/batch-product-creation.js.map +1 -1
- package/package.json +1 -1
|
@@ -57699,6 +57699,7 @@ const ProductPreviewTable = ({
|
|
|
57699
57699
|
setCheckedProducts,
|
|
57700
57700
|
taxDeductionMethod
|
|
57701
57701
|
}) => {
|
|
57702
|
+
const { language } = useExternalConfig();
|
|
57702
57703
|
const [showUpdateProductModal, setShowUpdateProductModal] = React.useState(false);
|
|
57703
57704
|
const [selectedProduct, setSelectedProduct] = React.useState(null);
|
|
57704
57705
|
const [productsTableData, setProductsTableData] = React.useState(
|
|
@@ -57726,7 +57727,7 @@ const ProductPreviewTable = ({
|
|
|
57726
57727
|
setProductsTableData(finalFormatedData);
|
|
57727
57728
|
}, [sheetMappingData2]);
|
|
57728
57729
|
const isMobile = dropdownMenuAbsolute.useMediaQuery("(max-width: 768px)");
|
|
57729
|
-
const { translate } = useTranslation.useTranslation("batch-create-product");
|
|
57730
|
+
const { translate } = useTranslation.useTranslation("batch-create-product", language);
|
|
57730
57731
|
const validProducts = React.useMemo(
|
|
57731
57732
|
() => validatedProducts.filter((p) => !p.note),
|
|
57732
57733
|
[validatedProducts]
|