@ikas/storefront 0.0.28 → 0.0.30
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/build/index.es.js +2 -2
- package/build/index.js +2 -2
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -22698,7 +22698,7 @@ function createProductSchema(pageSpecificDataStr) {
|
|
|
22698
22698
|
var _a;
|
|
22699
22699
|
var productDetailParsed = JSON.parse(pageSpecificDataStr);
|
|
22700
22700
|
var productDetail = new IkasProductDetail(productDetailParsed.product, productDetailParsed.selectedVariantValues);
|
|
22701
|
-
var isBrowser = typeof window !== undefined;
|
|
22701
|
+
var isBrowser = typeof window !== "undefined";
|
|
22702
22702
|
if (isBrowser) {
|
|
22703
22703
|
var urlParams = new URLSearchParams(window.location.search);
|
|
22704
22704
|
var vid_1 = urlParams.get("vid");
|
|
@@ -23422,7 +23422,7 @@ var Page$1 = function (_a) {
|
|
|
23422
23422
|
}, []);
|
|
23423
23423
|
useEffect(function () {
|
|
23424
23424
|
setPropValues(IkasPageDataProvider.initPropValues(propValuesStr, router, isBrowser));
|
|
23425
|
-
}, [isBrowser]);
|
|
23425
|
+
}, [isBrowser, propValuesStr]);
|
|
23426
23426
|
handleGTM(page, pageSpecificDataStr);
|
|
23427
23427
|
return (createElement(IkasPage, { page: page, propValues: propValues, pageSpecificDataStr: pageSpecificDataStr }));
|
|
23428
23428
|
};
|
package/build/index.js
CHANGED
|
@@ -22682,7 +22682,7 @@ function createProductSchema(pageSpecificDataStr) {
|
|
|
22682
22682
|
var _a;
|
|
22683
22683
|
var productDetailParsed = JSON.parse(pageSpecificDataStr);
|
|
22684
22684
|
var productDetail = new IkasProductDetail(productDetailParsed.product, productDetailParsed.selectedVariantValues);
|
|
22685
|
-
var isBrowser = typeof window !== undefined;
|
|
22685
|
+
var isBrowser = typeof window !== "undefined";
|
|
22686
22686
|
if (isBrowser) {
|
|
22687
22687
|
var urlParams = new URLSearchParams(window.location.search);
|
|
22688
22688
|
var vid_1 = urlParams.get("vid");
|
|
@@ -23406,7 +23406,7 @@ var Page$1 = function (_a) {
|
|
|
23406
23406
|
}, []);
|
|
23407
23407
|
React.useEffect(function () {
|
|
23408
23408
|
setPropValues(IkasPageDataProvider.initPropValues(propValuesStr, router$1, isBrowser));
|
|
23409
|
-
}, [isBrowser]);
|
|
23409
|
+
}, [isBrowser, propValuesStr]);
|
|
23410
23410
|
handleGTM(page, pageSpecificDataStr);
|
|
23411
23411
|
return (React.createElement(IkasPage, { page: page, propValues: propValues, pageSpecificDataStr: pageSpecificDataStr }));
|
|
23412
23412
|
};
|