Closed rjvelazco closed 6 days ago
This pull request includes changes to the examples/nextjs project to fix and improve the path handling in the blog post page and correct an import statement in the my-blog-page component.
examples/nextjs
my-blog-page
Path handling improvements in blog post page:
examples/nextjs/src/app/blog/post/[[...slug]]/page.js
path
getPageRequestParams
Import statement correction:
examples/nextjs/src/components/my-blog-page.js
Header
This pull request includes changes to the
examples/nextjs
project to fix and improve the path handling in the blog post page and correct an import statement in themy-blog-page
component.Path handling improvements in blog post page:
examples/nextjs/src/app/blog/post/[[...slug]]/page.js
: Removed the default value for thepath
variable and updated thepath
parameter ingetPageRequestParams
to include the full blog post path. (examples/nextjs/src/app/blog/post/[[...slug]]/page.jsL17-R19, examples/nextjs/src/app/blog/post/[[...slug]]/page.jsL40-R43)Import statement correction:
examples/nextjs/src/components/my-blog-page.js
: Corrected the import path for theHeader
component to ensure it points to the correct file.