mirror of
https://gitlab.massbug.com/massbug/judge4c.git
synced 2025-07-04 04:12:02 +00:00
feat(layout): add Toaster component to RootLayout
This commit is contained in:
parent
e102418c50
commit
ca0512ff14
@ -2,6 +2,7 @@ import "@/app/globals.css";
|
||||
import { cn } from "@/lib/utils";
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Toaster } from "@/components/ui/sonner";
|
||||
import { QueryProvider } from "@/components/query-provider";
|
||||
import { ThemeProvider } from "@/components/theme-provider";
|
||||
|
||||
@ -28,6 +29,7 @@ export default function RootLayout({ children }: Readonly<RootLayoutProps>) {
|
||||
disableTransitionOnChange
|
||||
>
|
||||
{children}
|
||||
<Toaster />
|
||||
</ThemeProvider>
|
||||
</QueryProvider>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user