Skip to content

'Link' cannot be used as a JSX component. #566

@gabrielmielo

Description

@gabrielmielo

Erro: 'Link' cannot be used as a JSX component.
Its type 'typeof Link' is not a valid JSX element type.ts(2786)

I'm having a problem using the Link.

Version I'm using:

"react-scroll": "^1.9.0",
"next": "13.4.5",
"react": "^18.2.0",
"react-dom": "18.2.0",
"@types/react": "18.2.12",
"@types/react-scroll": "^1.8.7",

I would like some help to resolve this issue. It works correctly. but it is giving build error in vercel

image
CODIGO
image

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