enter image description here
I'm new to JS so I am finding it a little complicated to get it set up. Can someone please fix? I'm sure its super easy but just can't crack it. Thanks a ton in advance!
Here is next.js Links doc, check it. Should be something like this
import Link from 'next/link' const List = ({data}) => { return ( <ul> {data.map((item) => { return ( <li key={item.name}> <Link href={item.desc[0].p}> <a>{item.name}</a> </Link> </li> ) })} </ul> ) }