From 531288f57a6d4ca048f231a93c8c027ad8f04f17 Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Fri, 31 Jan 2025 16:41:04 +0800 Subject: [PATCH] chore(layout): integrate Query provider into root layout --- src/app/layout.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4f6b687..de9e81b 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -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 { QueryProvider } from "@/components/query-provider"; import { ThemeProvider } from "@/components/theme-provider"; const inter = Inter({ subsets: ["latin"] }); @@ -19,14 +20,16 @@ export default function RootLayout({ children }: Readonly) { return ( - - {children} - + + + {children} + + );