silverwolf-x's picture
download
raw
397 Bytes
import Layout from "../../components/Layout";
import { getPayloadClient } from "../../payload/payloadClient";
const SiteLayout = async ({ children }: { children: React.ReactNode }) => {
const payload = await getPayloadClient();
const mainMenu = await payload.findGlobal({
slug: "main-menu",
});
return <Layout mainMenu={mainMenu}>{children}</Layout>;
};
export default SiteLayout;

Xet Storage Details

Size:
397 Bytes
·
Xet hash:
94202097c254ce52b266f79cd1ade9eb01a0a41f9dda4217f1755cea2e891c06

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.