forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
21 lines (19 loc) · 684 Bytes
/
Copy pathlayout.tsx
File metadata and controls
21 lines (19 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import "./global.css";
import { RootProvider } from "fumadocs-ui/provider";
import { Inter } from "next/font/google";
import type { ReactNode } from "react";
import { ProvidersWrapper } from "@/lib/providers/providers-wrapper";
const inter = Inter({
subsets: ["latin"],
});
export default async function Layout({ children }: { children: ReactNode }) {
return (
<html lang="en" className={inter.className} suppressHydrationWarning>
<body>
<ProvidersWrapper clerkPublishableKey={process.env.CLERK_PUBLISHABLE_KEY as string}>
<RootProvider theme={{ enabled: true }}>{children}</RootProvider>
</ProvidersWrapper>
</body>
</html>
);
}