@gem-sdk/components 2.0.0-dev.329 → 2.0.0-dev.330
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.
|
@@ -22,7 +22,6 @@ const ProductNotFound = dynamic(()=>Promise.resolve().then(function () { return
|
|
|
22
22
|
});
|
|
23
23
|
const ProductList = (props)=>{
|
|
24
24
|
const { children, styles, builderProps, setting, builderAttrs } = props;
|
|
25
|
-
const { builderData } = builderProps ?? {};
|
|
26
25
|
const { isRelatedProduct, productSetting } = index.getData(props);
|
|
27
26
|
const relatedTagString = productSetting.relatedTag && productSetting.relatedTag[0];
|
|
28
27
|
const mode = core.useEditorMode();
|
|
@@ -304,7 +303,7 @@ const ProductList = (props)=>{
|
|
|
304
303
|
if (isProductNotFoundEditMode) {
|
|
305
304
|
return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
306
305
|
children: system.If(fromWarningImportShopify, /*#__PURE__*/ jsxRuntime.jsx(ProductNotFound, {
|
|
307
|
-
builderAttrs:
|
|
306
|
+
builderAttrs: builderAttrs,
|
|
308
307
|
collectionHandle: collection?.handle,
|
|
309
308
|
productSrc: productSrc,
|
|
310
309
|
onClose: ()=>setFromWarningImportShopify(false),
|
|
@@ -18,7 +18,6 @@ const ProductNotFound = dynamic(()=>import('../ProductNotFound.js'), {
|
|
|
18
18
|
});
|
|
19
19
|
const ProductList = (props)=>{
|
|
20
20
|
const { children, styles, builderProps, setting, builderAttrs } = props;
|
|
21
|
-
const { builderData } = builderProps ?? {};
|
|
22
21
|
const { isRelatedProduct, productSetting } = getData(props);
|
|
23
22
|
const relatedTagString = productSetting.relatedTag && productSetting.relatedTag[0];
|
|
24
23
|
const mode = useEditorMode();
|
|
@@ -300,7 +299,7 @@ const ProductList = (props)=>{
|
|
|
300
299
|
if (isProductNotFoundEditMode) {
|
|
301
300
|
return /*#__PURE__*/ jsx(Fragment, {
|
|
302
301
|
children: If(fromWarningImportShopify, /*#__PURE__*/ jsx(ProductNotFound, {
|
|
303
|
-
builderAttrs:
|
|
302
|
+
builderAttrs: builderAttrs,
|
|
304
303
|
collectionHandle: collection?.handle,
|
|
305
304
|
productSrc: productSrc,
|
|
306
305
|
onClose: ()=>setFromWarningImportShopify(false),
|