feat: React Query 설정 및 루트 레이아웃 통합

- QueryProvider 컴포넌트 생성
- React Query DevTools 추가
- 루트 레이아웃에 QueryProvider 래핑
This commit is contained in:
2026-02-04 09:34:54 +09:00
parent c0ecec6586
commit ac292bcf2a
2 changed files with 49 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { QueryProvider } from "@/providers/query-provider";
import "./globals.css";
const geistSans = Geist({
@@ -27,7 +28,7 @@ export default function RootLayout({
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<QueryProvider>{children}</QueryProvider>
</body>
</html>
);