@julseb-lib/react 1.0.47 → 1.0.48
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69822,9 +69822,9 @@ var PageLayout = ({
|
|
|
69822
69822
|
}) => {
|
|
69823
69823
|
return /* @__PURE__ */ jsxs295(Fragment16, { children: [
|
|
69824
69824
|
meta && /* @__PURE__ */ jsx369(Meta, { ...meta }),
|
|
69825
|
-
isValidElement(header) ? header : /* @__PURE__ */ jsx369(Header, { ...header }),
|
|
69825
|
+
header && (isValidElement(header) ? header : /* @__PURE__ */ jsx369(Header, { ...header })),
|
|
69826
69826
|
!noWrapper ? /* @__PURE__ */ jsx369(Wrapper, { ...wrapperProps, children: !noMain ? /* @__PURE__ */ jsx369(Main, { ...mainProps, children }) : children }) : children,
|
|
69827
|
-
isValidElement(footer) ? footer : /* @__PURE__ */ jsx369(Footer, { ...footer })
|
|
69827
|
+
footer && (isValidElement(footer) ? footer : /* @__PURE__ */ jsx369(Footer, { ...footer }))
|
|
69828
69828
|
] });
|
|
69829
69829
|
};
|
|
69830
69830
|
|