link-stack/apps/link/app/layout.tsx

28 lines
645 B
TypeScript
Raw Normal View History

2023-06-26 10:07:12 +00:00
import { ReactNode } from "react";
import { Metadata } from "next";
2024-08-07 12:02:33 +02:00
import { AppRouterCacheProvider } from "@mui/material-nextjs/v14-appRouter";
2023-06-26 10:07:12 +00:00
import { MultiProvider } from "./_components/MultiProvider";
2024-08-07 12:02:33 +02:00
import "./_styles/global.css";
2023-06-26 10:07:12 +00:00
export const dynamic = "force-dynamic";
2023-06-26 10:07:12 +00:00
export const metadata: Metadata = {
2024-08-07 12:02:33 +02:00
title: "CDR Link",
2023-06-26 10:07:12 +00:00
};
type LayoutProps = {
children: ReactNode;
};
export default function Layout({ children }: LayoutProps) {
return (
<html lang="en">
<body>
2024-08-07 12:02:33 +02:00
<AppRouterCacheProvider>
<MultiProvider>{children}</MultiProvider>
</AppRouterCacheProvider>
2023-06-26 10:07:12 +00:00
</body>
</html>
);
}