diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 251cf14..e63f00c 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -7,7 +7,7 @@ import "./globals.css" import Header from "@/components/layout/Header" import MobileBottomNav from "@/components/layout/MobileBar" import { Toaster } from "@/components/ui/sonner" -import { Providers } from "@/context/provider" +import { Providers } from "@/context/Provider" import AuthWrapper from "@/context/AuthWrapper" const geistSans = Geist({ diff --git a/context/provider.tsx b/context/provider.tsx index affa03a..e1066ba 100644 --- a/context/provider.tsx +++ b/context/provider.tsx @@ -1,20 +1,22 @@ -"use client" +"use client"; -import { QueryClientProvider, HydrationBoundary } from "@tanstack/react-query" -import { queryClient } from "@/lib/queryClient" -import type { ReactNode } from "react" +import { + QueryClientProvider, + HydrationBoundary, + type DehydratedState, +} from "@tanstack/react-query"; +import { queryClient } from "@/lib/queryClient"; +import type { ReactNode } from "react"; interface ProvidersProps { - children: ReactNode - dehydratedState?: unknown + children: ReactNode; + dehydratedState?: DehydratedState; } export function Providers({ children, dehydratedState }: ProvidersProps) { return ( - - {children} - + {children} - ) -} \ No newline at end of file + ); +}