import { cache } from "react"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; import { QueryClient } from "@tanstack/react-query"; import "@/assets/globals.css"; import Providers from "@/components/react-query/providers"; const inter = Inter({ subsets: ["latin"] }); export const getQueryClient = () => cache(() => new QueryClient()); export const metadata: Metadata = { title: "Create Next App", description: "Generated by create next app", }; export default function RootLayout({ children, }: { children: React.ReactNode; }) { return ( {children} ); }