Spaces:
Runtime error
Runtime error
File size: 723 Bytes
5881efa cf8b7da 5881efa cf8b7da 5881efa cf8b7da 5881efa cf8b7da 5881efa cf8b7da |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
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 (
<html lang="en">
<body className={inter.className}>
<Providers>{children}</Providers>
</body>
</html>
);
}
|