File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -269,9 +269,11 @@ export const ResumeScreenRouteDataConfig = {
269269// -i- https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config
270270export const dynamic = 'force-static' // 'auto' | 'force-dynamic' | 'error' | 'force-static'
271271
272- export const generateStaticParams = async ( ) : Promise < TResumeScreenParams [ ] > => {
273- return [ { slug : 'codinsonn' } ]
274- }
272+ // TODO: Figure out how to generate static params in Next.js 14 while also needing to use client components
273+ // -!- Error: Page "/(generated)/bio/[slug]/page" cannot use both "use client" and export function "generateStaticParams()".
274+ // export const generateStaticParams = async (): Promise<TResumeScreenParams[]> => {
275+ // return [{ slug: 'codinsonn' }]
276+ // }
275277
276278/* --- <ResumeScreen/> ------------------------------------------------------------------------- */
277279
You can’t perform that action at this time.
0 commit comments