@gem-sdk/pages 1.8.11 → 1.8.18

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.
@@ -27,8 +27,6 @@ const CollectionGlobalProvider = ({ children })=>{
27
27
  "Error: ",
28
28
  error?.message
29
29
  ]
30
- }) : !collection ? /*#__PURE__*/ jsxRuntime.jsx("div", {
31
- children: "Collection not found"
32
30
  }) : /*#__PURE__*/ jsxRuntime.jsx(CollectionProvider, {
33
31
  collection: collection,
34
32
  children: children
@@ -48,7 +48,6 @@ const BuilderPage = ({ components , seo , themeStyle , fontStyle , sectionData ,
48
48
  })
49
49
  ]
50
50
  }),
51
- /*#__PURE__*/ jsxRuntime.jsx(Header.default, {}),
52
51
  /*#__PURE__*/ jsxRuntime.jsx(core.BuilderComponentProvider, {
53
52
  components: components,
54
53
  children: /*#__PURE__*/ jsxRuntime.jsx(WrapProvider, {
@@ -62,6 +61,7 @@ const BuilderPage = ({ components , seo , themeStyle , fontStyle , sectionData ,
62
61
  loadSuccess && /*#__PURE__*/ jsxRuntime.jsxs("div", {
63
62
  className: "builder z-1 relative",
64
63
  children: [
64
+ /*#__PURE__*/ jsxRuntime.jsx(Header.default, {}),
65
65
  /*#__PURE__*/ jsxRuntime.jsx("div", {
66
66
  id: "storefront",
67
67
  children: /*#__PURE__*/ jsxRuntime.jsx(core.RenderPreview, {
@@ -70,15 +70,15 @@ const BuilderPage = ({ components , seo , themeStyle , fontStyle , sectionData ,
70
70
  }),
71
71
  /*#__PURE__*/ jsxRuntime.jsx("div", {
72
72
  id: "visual-content"
73
- })
73
+ }),
74
+ /*#__PURE__*/ jsxRuntime.jsx(Footer.default, {})
74
75
  ]
75
76
  })
76
77
  ]
77
78
  }, "preview")
78
79
  })
79
80
  })
80
- }),
81
- /*#__PURE__*/ jsxRuntime.jsx(Footer.default, {})
81
+ })
82
82
  ]
83
83
  });
84
84
  };
@@ -23,8 +23,6 @@ const CollectionGlobalProvider = ({ children })=>{
23
23
  "Error: ",
24
24
  error?.message
25
25
  ]
26
- }) : !collection ? /*#__PURE__*/ jsx("div", {
27
- children: "Collection not found"
28
26
  }) : /*#__PURE__*/ jsx(CollectionProvider, {
29
27
  collection: collection,
30
28
  children: children
@@ -46,7 +46,6 @@ const BuilderPage = ({ components , seo , themeStyle , fontStyle , sectionData ,
46
46
  })
47
47
  ]
48
48
  }),
49
- /*#__PURE__*/ jsx(Header, {}),
50
49
  /*#__PURE__*/ jsx(BuilderComponentProvider, {
51
50
  components: components,
52
51
  children: /*#__PURE__*/ jsx(WrapProvider, {
@@ -60,6 +59,7 @@ const BuilderPage = ({ components , seo , themeStyle , fontStyle , sectionData ,
60
59
  loadSuccess && /*#__PURE__*/ jsxs("div", {
61
60
  className: "builder z-1 relative",
62
61
  children: [
62
+ /*#__PURE__*/ jsx(Header, {}),
63
63
  /*#__PURE__*/ jsx("div", {
64
64
  id: "storefront",
65
65
  children: /*#__PURE__*/ jsx(RenderPreview, {
@@ -68,15 +68,15 @@ const BuilderPage = ({ components , seo , themeStyle , fontStyle , sectionData ,
68
68
  }),
69
69
  /*#__PURE__*/ jsx("div", {
70
70
  id: "visual-content"
71
- })
71
+ }),
72
+ /*#__PURE__*/ jsx(Footer, {})
72
73
  ]
73
74
  })
74
75
  ]
75
76
  }, "preview")
76
77
  })
77
78
  })
78
- }),
79
- /*#__PURE__*/ jsx(Footer, {})
79
+ })
80
80
  ]
81
81
  });
82
82
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/pages",
3
- "version": "1.8.11",
3
+ "version": "1.8.18",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",