Skip to content

Commit

Permalink
rd-300 update example configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vordgi committed Oct 13, 2024
1 parent 7774e95 commit 9f4cfc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nextjs-conributing/src/app/[[...path]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const generateMetadata = async ({ params }: { params: { path?: string[] }

export const generateStaticParams = async () => {
const pages = await getPages();
return pages.map((page) => ({ path: page.split("/").slice(2) }));
return pages.map((page) => ({ path: page.split("/").slice(1) }));
};

export default Docs;

0 comments on commit 9f4cfc2

Please sign in to comment.