moved to /dispatch and fixed Voice chat
This commit is contained in:
@@ -3,6 +3,7 @@ import localFont from "next/font/local";
|
||||
import "./globals.css";
|
||||
import { NextAuthSessionProvider } from "./_components/AuthSessionProvider";
|
||||
import { getServerSession } from "./api/auth/[...nextauth]/auth";
|
||||
import { Toaster } from "react-hot-toast";
|
||||
|
||||
const geistSans = localFont({
|
||||
src: "./fonts/GeistVF.woff",
|
||||
@@ -29,6 +30,21 @@ export default async function RootLayout({
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} h-screen flex flex-col overflow-hidden`}
|
||||
>
|
||||
<Toaster
|
||||
containerStyle={{
|
||||
top: 150,
|
||||
left: 20,
|
||||
right: 20,
|
||||
}}
|
||||
toastOptions={{
|
||||
style: {
|
||||
background: "var(--color-base-100)",
|
||||
color: "var(--color-base-content)",
|
||||
},
|
||||
}}
|
||||
position="top-left"
|
||||
reverseOrder={false}
|
||||
/>
|
||||
<NextAuthSessionProvider session={session}>
|
||||
{children}
|
||||
</NextAuthSessionProvider>
|
||||
|
||||
Reference in New Issue
Block a user