moved to /dispatch and fixed Voice chat

This commit is contained in:
PxlLoewe
2025-04-15 19:43:06 -07:00
parent d0c779b66e
commit fd4be984b0
35 changed files with 658 additions and 49 deletions

View File

@@ -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>