0

I'm making a small news blog app with next.js 13 when i'm using in any section i'm getting an error like "Cannot read properties of undefined (reading 'call')"

I'm adding the code section below

function Navlink({category}: Props) {
  return (
      <div>
        <Link 
             href={`/${category}`}
            className=""
        >    
                {category}
        </Link>
    </div>
  )
}

and the error (https://i.stack.imgur.com/Pf9Rp.jpg)

it's a simple tag and didn't get any issues with next.js 12 version

Visakh Sr
  • 1
  • 1

0 Answers0