Skip to content

Commit

Permalink
update function name
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrickaby committed Oct 23, 2023
1 parent 9419c12 commit f021fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/blog/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export async function generateMetadata({
*
* @see https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts#pages
*/
export default async function Page({params}: {params: {slug: string}}) {
export default async function Post({params}: {params: {slug: string}}) {
// Fetch a single post from WordPress.
const post = await getPostBySlug(params.slug)

Expand Down

1 comment on commit f021fd0

@vercel
Copy link

@vercel vercel bot commented on f021fd0 Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.