Frontend update
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Inter } from "next/font/google"
|
||||
import "./globals.css"
|
||||
import { ThemeProvider } from "@/components/layout/theme-provider"
|
||||
import { Toaster } from "sonner"
|
||||
import type React from "react"
|
||||
import KeepOnline from "@/components/KeepOnline"
|
||||
|
||||
@@ -20,7 +21,12 @@ export default function RootLayout({
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className={inter.className}>
|
||||
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem disableTransitionOnChange>
|
||||
<KeepOnline />
|
||||
<Toaster
|
||||
theme="dark"
|
||||
richColors
|
||||
position="top-right"
|
||||
/>
|
||||
<KeepOnline />
|
||||
{children}
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user