From cb3861a5c8e325325fdd85ff2a06575fbc77c3bb Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Wed, 3 Dec 2025 16:58:40 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20rename=20react-query-provider=20?= =?UTF-8?q?to=20TanstackQueryProvider?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/layout.tsx | 6 +++--- .../{react-query-provider.tsx => TanstackQueryProvider.tsx} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/components/{react-query-provider.tsx => TanstackQueryProvider.tsx} (91%) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c8907a49..460cace0 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -20,7 +20,7 @@ import { Toaster } from "@app/components/ui/toaster"; import { build } from "@server/build"; import { TopLoader } from "@app/components/Toploader"; import Script from "next/script"; -import { ReactQueryProvider } from "@app/components/react-query-provider"; +import { TanstackQueryProvider } from "@app/components/TanstackQueryProvider"; export const metadata: Metadata = { title: `Dashboard - ${process.env.BRANDING_APP_NAME || "Pangolin"}`, @@ -95,7 +95,7 @@ export default async function RootLayout({ strategy="afterInteractive" /> )} - + - + ); diff --git a/src/components/react-query-provider.tsx b/src/components/TanstackQueryProvider.tsx similarity index 91% rename from src/components/react-query-provider.tsx rename to src/components/TanstackQueryProvider.tsx index 0f65ba62..3d9f62e1 100644 --- a/src/components/react-query-provider.tsx +++ b/src/components/TanstackQueryProvider.tsx @@ -8,7 +8,7 @@ export type ReactQueryProviderProps = { children: React.ReactNode; }; -export function ReactQueryProvider({ children }: ReactQueryProviderProps) { +export function TanstackQueryProvider({ children }: ReactQueryProviderProps) { const [queryClient] = React.useState( () => new QueryClient({