StationStatus Toast hinzugefügt #45
This commit is contained in:
@@ -39,24 +39,24 @@ export default async function RootLayout({
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} h-screen flex flex-col overflow-hidden`}
|
||||
>
|
||||
<Toaster
|
||||
containerStyle={{
|
||||
top: 80,
|
||||
left: 50,
|
||||
}}
|
||||
toastOptions={{
|
||||
style: {
|
||||
background: "var(--color-base-100)",
|
||||
color: "var(--color-base-content)",
|
||||
zIndex: 9999,
|
||||
},
|
||||
duration: 5000,
|
||||
}}
|
||||
position="top-left"
|
||||
reverseOrder={false}
|
||||
/>
|
||||
<QueryProvider>
|
||||
<NextAuthSessionProvider session={session}>
|
||||
<Toaster
|
||||
containerStyle={{
|
||||
top: 80,
|
||||
left: 50,
|
||||
}}
|
||||
toastOptions={{
|
||||
style: {
|
||||
background: "var(--color-base-100)",
|
||||
color: "var(--color-base-content)",
|
||||
zIndex: 9999,
|
||||
},
|
||||
duration: 5000,
|
||||
}}
|
||||
position="top-left"
|
||||
reverseOrder={false}
|
||||
/>
|
||||
{session?.user.isBanned && (
|
||||
<ErrorComp title="You are banned from using this service" statusCode={403} />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user