30 lines
849 B
TypeScript
30 lines
849 B
TypeScript
import type { Metadata } from "next";
|
|
import { Toaster } from "@/components/ui/sonner";
|
|
import { TooltipProvider } from "@/components/ui/tooltip";
|
|
import { SessionProvider } from "next-auth/react";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Wallora Searcher",
|
|
description: "Wallora Searcher Admin",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className="h-full antialiased">
|
|
<body className="flex min-h-full flex-col">
|
|
<SessionProvider>
|
|
<TooltipProvider>
|
|
{children}
|
|
<Toaster richColors closeButton />
|
|
</TooltipProvider>
|
|
</SessionProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|