Skip to content

'Layout' cannot be used as a JSX component. #1

@nypam

Description

@nypam

Hey there,

Thank you for the super tutorial. I'm new to NEXT so bear with me :-)

When running the app, I got the following error...

error

I first thought it was related to @types/react but I'm using version 18.0.26

Any idea what it might be?

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions