Skip to content
Discussion options

You must be logged in to vote

I had missed that you didn't have an html tag either, you have to include one, see this example:

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="en">
      <body>
        {/* Layout UI */}
        <main>{children}</main>
      </body>
    </html>
  )
}

Replies: 7 comments 16 replies

Comment options

You must be logged in to vote
4 replies
@amaaljuffry
Comment options

@icyJoseph
Comment options

@icyJoseph
Comment options

Answer selected by amaaljuffry
@amaaljuffry
Comment options

Comment options

You must be logged in to vote
7 replies
@icyJoseph
Comment options

@otchlan
Comment options

@icyJoseph
Comment options

@otchlan
Comment options

@icyJoseph
Comment options

Comment options

You must be logged in to vote
2 replies
@li2109
Comment options

@vladdg-dev
Comment options

Comment options

You must be logged in to vote
3 replies
@Devnadish
Comment options

@icyJoseph
Comment options

@clxrityy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet