Files
supabase/examples/caching/with-react-query-nextjs-14/app/layout.tsx
Thor 雷神 Schaeff 34a016b4c2 feat(blog): Add React Query post. (#20254)
* feat(blog): Add React Query post.

* feat(examples): Add React Query example.

* Apply suggestions from code review

Thank you 💚

Co-authored-by: Philipp Steinrötter <philipp@steinroetter.com>

* chore: update og image.

---------

Co-authored-by: Philipp Steinrötter <philipp@steinroetter.com>
2024-01-12 10:30:48 +00:00

26 lines
606 B
TypeScript

import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import './globals.css'
import { ReactQueryClientProvider } from '@/components/ReactQueryClientProvider'
const inter = Inter({ subsets: ['latin'] })
export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<ReactQueryClientProvider>
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
</ReactQueryClientProvider>
)
}