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

layout.tsx

22 lines420 Bytes

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