Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

layout.tsx

20 lines335 Bytes

1import { Providers } from './providers'
2​
3export const metadata = {
4 title: 'Next.js',
5 description: 'Generated by Next.js',
6}
7​
8export default function RootLayout({
9 children,
10}: {
11 children: React.ReactNode
12}) {
13 return (
14 <html lang="en">
15 <body>
16 <Providers>{children}</Providers>
17 </body>
18 </html>
19 )