Spaces:
Running
Running
"use client"; | |
// import React from "react"; | |
// import { ThemeProvider } from "@material-tailwind/react"; | |
// export function Layout({ children }: { children: React.ReactNode }) { | |
// return <ThemeProvider>{children}</ThemeProvider>; | |
// } | |
// export default Layout; | |
import React from "react"; | |
import { ThemeProvider } from "@material-tailwind/react"; | |
export function Layout({ children }: { children: React.ReactNode }) { | |
return ( | |
<ThemeProvider> | |
<>{children}</> | |
</ThemeProvider> | |
); | |
} | |
export default Layout; | |