added footer links, added email alias check
This commit is contained in:
@@ -3,6 +3,7 @@ import { NextAuthSessionProvider } from "./_components/AuthSessionProvider";
|
||||
import { getServerSession } from "./api/auth/[...nextauth]/auth";
|
||||
import "./globals.css";
|
||||
import { CustomErrorBoundary } from "_components/ErrorBoundary";
|
||||
import { Toaster } from "react-hot-toast";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
@@ -25,6 +26,13 @@ const RootLayout = async ({
|
||||
<html lang="en">
|
||||
<NextAuthSessionProvider session={session}>
|
||||
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
||||
<div>
|
||||
<Toaster
|
||||
containerStyle={{ zIndex: "999999999" }}
|
||||
position="top-center"
|
||||
reverseOrder={false}
|
||||
/>
|
||||
</div>
|
||||
<CustomErrorBoundary>{children}</CustomErrorBoundary>
|
||||
</body>
|
||||
</NextAuthSessionProvider>
|
||||
|
||||
Reference in New Issue
Block a user