diff --git a/src/components/Layout/Provider.tsx b/src/components/Layout/Provider.tsx index 73f8edb..e818513 100644 --- a/src/components/Layout/Provider.tsx +++ b/src/components/Layout/Provider.tsx @@ -1,4 +1,4 @@ -"use client";; +"use client"; import { ourFileRouter } from "@/app/api/uploadthing/core"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { NextSSRPlugin } from "@uploadthing/react/next-ssr-plugin"; @@ -6,28 +6,29 @@ import { SessionProvider } from "next-auth/react"; import { ReactNode } from "react"; import { Toaster } from "sonner"; import { extractRouterConfig } from "uploadthing/server"; +import React from "react"; export default function Providers({ children }: { children: ReactNode }) { - const queryClient = new QueryClient(); - return ( - <> - - - - {children} - - - - - ); + const queryClient = new QueryClient(); + return ( + <> + + + + {children} + + + + + ); }