@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.js CHANGED
@@ -5528,6 +5528,9 @@ function AmplifyPageContent(contentProps) {
5528
5528
  return /* @__PURE__ */ jsxRuntime.jsx(ComposerLayoutStatusProvider, { ready: false, children: previewLoading });
5529
5529
  }
5530
5530
  const layoutSettled = !client.loading || !!clientLayout;
5531
+ if (!pageConfig) {
5532
+ return /* @__PURE__ */ jsxRuntime.jsx(ComposerLayoutStatusProvider, { ready: layoutSettled, children: previewEmpty });
5533
+ }
5531
5534
  return /* @__PURE__ */ jsxRuntime.jsx(ComposerLayoutStatusProvider, { ready: layoutSettled, children: /* @__PURE__ */ jsxRuntime.jsx(
5532
5535
  AmplifyRenderer,
5533
5536
  {