Javascript Next Js Error When I Run The Code Typeerror Cannot Read

Javascript Next Js Error When I Run The Code Typeerror Cannot Read