@amplifyup/sdk 0.2.3 → 0.2.4

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
@@ -5522,6 +5522,9 @@ function AmplifyPageContent(contentProps) {
5522
5522
  return /* @__PURE__ */ jsx(ComposerLayoutStatusProvider, { ready: false, children: previewLoading });
5523
5523
  }
5524
5524
  const layoutSettled = !client.loading || !!clientLayout;
5525
+ if (!pageConfig) {
5526
+ return /* @__PURE__ */ jsx(ComposerLayoutStatusProvider, { ready: layoutSettled, children: previewEmpty });
5527
+ }
5525
5528
  return /* @__PURE__ */ jsx(ComposerLayoutStatusProvider, { ready: layoutSettled, children: /* @__PURE__ */ jsx(
5526
5529
  AmplifyRenderer,
5527
5530
  {