mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
feat(layout): add Sonner Toaster for toast notifications
This commit is contained in:
parent
18d9b28e1e
commit
5f49d6841e
@ -1,4 +1,5 @@
|
||||
import "./globals.css";
|
||||
import "@/app/globals.css";
|
||||
import { Toaster } from "sonner";
|
||||
import type { Metadata } from "next";
|
||||
import { ThemeProvider } from "@/components/theme-provider";
|
||||
import { SettingsDialog } from "@/components/settings-dialog";
|
||||
@ -24,7 +25,8 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<div className="w-full">{children}</div>
|
||||
<SettingsDialog/>
|
||||
<SettingsDialog />
|
||||
<Toaster />
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user