24 lines
702 B
TypeScript
24 lines
702 B
TypeScript
import type { Metadata } from "next";
|
|
import { GeistSans } from "geist/font/sans";
|
|
import { GeistMono } from "geist/font/mono";
|
|
import { Analytics } from "@vercel/analytics/next";
|
|
import "./globals.css";
|
|
import { Toaster } from "@/components/ui/toaster";
|
|
import { Providers } from "./providers";
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className={`font-sans ${GeistSans.variable} ${GeistMono.variable}`}>
|
|
<Providers>{children}</Providers>
|
|
<Analytics />
|
|
<Toaster />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|