rename app provider to editor provider and add it to the editor instead

This commit is contained in:
Maze Winther
2025-06-22 13:08:37 +02:00
parent be97024868
commit 6b77e83ca0
4 changed files with 59 additions and 59 deletions

View File

@ -5,7 +5,6 @@ import { Analytics } from "@vercel/analytics/react";
import "./globals.css";
import { Toaster } from "../components/ui/sonner";
import { TooltipProvider } from "../components/ui/tooltip";
import { AppProvider } from "@/components/app-provider";
const inter = Inter({
subsets: ["latin"],
@ -26,13 +25,11 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning>
<body className={`${inter.variable} font-sans antialiased`}>
<ThemeProvider attribute="class" forcedTheme="dark" enableSystem>
<AppProvider>
<TooltipProvider>
{children}
<Analytics />
<Toaster />
</TooltipProvider>
</AppProvider>
<TooltipProvider>
{children}
<Analytics />
<Toaster />
</TooltipProvider>
</ThemeProvider>
</body>
</html>