@amplifyup/sdk 0.1.8 → 0.1.9

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/react.mjs CHANGED
@@ -1920,7 +1920,7 @@ function AmplifyRenderer({
1920
1920
  return /* @__PURE__ */ jsx("main", { children: layoutTree.map((node) => /* @__PURE__ */ jsx("div", { children: renderNode(node) }, node.id)) });
1921
1921
  }
1922
1922
  function defaultPreviewCanvas() {
1923
- return /* @__PURE__ */ jsx("main", { className: "min-h-[50vh] w-full", children: /* @__PURE__ */ jsx(
1923
+ return /* @__PURE__ */ jsx(
1924
1924
  "div",
1925
1925
  {
1926
1926
  "data-slot-id": "main",
@@ -1928,7 +1928,7 @@ function defaultPreviewCanvas() {
1928
1928
  "data-slot-empty": "true",
1929
1929
  className: "min-h-[50vh] w-full"
1930
1930
  }
1931
- ) });
1931
+ );
1932
1932
  }
1933
1933
  function hasAmplifyLayout(pageConfig) {
1934
1934
  return !!(pageConfig && pageConfig.id !== "default" && Array.isArray(pageConfig.layoutTree) && pageConfig.layoutTree.length > 0);