fix broken layout.tsx

This commit is contained in:
CanbiZ
2025-04-09 15:04:49 +02:00
parent b0465a2d9a
commit 00da0805c6
2 changed files with 6 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import Footer from "@/components/Footer";
import Navbar from "@/components/Navbar";
import QueryProvider from "@/components/query-provider"; // HINZUGEFÜGT
import { ThemeProvider } from "@/components/theme-provider";
import { Toaster } from "@/components/ui/sonner";
import { analytics, basePath } from "@/config/siteConfig";
@@ -81,7 +82,9 @@ export default function RootLayout({
<div className="flex min-h-screen flex-col justify-center">
<div className="flex w-full justify-center">
<div className="w-full max-w-7xl ">
<NuqsAdapter>{children}</NuqsAdapter>
<QueryProvider> {/* HINZUGEFÜGT */}
<NuqsAdapter>{children}</NuqsAdapter>
</QueryProvider> {/* HINZUGEFÜGT */}
<Toaster richColors />
</div>
</div>