Javascript – Next.js 14.2.4 generateStaticParams throw error
Here is the /[work]/page.js export function generateStaticParams() { return [ { id: "work-1" } { id: "work-2" } { id: "work-3" } ]: } export default function WorkPage({ params }) { const { id } = params; ... and here…