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

layout.tsx

21 lines394 Bytes

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