// lib import { ThemeProvider } from "lib/theme-provider"; import { ToastContextProvider } from "lib/toast-provider"; // components import { InstanceSidebar } from "./sidebar"; import { InstanceHeader } from "./header"; // styles import "./globals.css"; export const metadata = { title: "God Mode", description: "You are god now.", }; interface RootLayoutProps { children: React.ReactNode; } export const RootLayout = async ({ children }: RootLayoutProps) => { const isUserInstanceAdmin = true; return ( {/* */} {/* {isUserInstanceAdmin || true ? ( */}
{children}
{/* ) : (
Login
)} */} ); }; export default RootLayout;