27 lines
675 B
TypeScript
27 lines
675 B
TypeScript
import { ReactNode } from "react";
|
|
import { Metadata } from "next";
|
|
import "app/_styles/global.css";
|
|
// import getConfig from "next/config";
|
|
// import { LicenseInfo } from "@mui/x-data-grid-pro";
|
|
import { MultiProvider } from "./_components/MultiProvider";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Leafcutter",
|
|
};
|
|
|
|
type LayoutProps = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
export default function Layout({ children }: LayoutProps) {
|
|
// const { publicRuntimeConfig } = getConfig();
|
|
// LicenseInfo.setLicenseKey(publicRuntimeConfig.muiLicenseKey);
|
|
|
|
return (
|
|
<html lang="en">
|
|
<body>
|
|
<MultiProvider>{children}</MultiProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|