Skip to content

Commit 46de592

Browse files
Update metadata comment (#214)
## Summary - clarify the purpose of `generateMetadata` in the member page ## Testing - `npm run lint` *(fails: Invalid Options)* ------ https://chatgpt.com/codex/tasks/task_e_6881b0a7f5ac83268d800a659fe035b2
1 parent ffb7f9c commit 46de592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/members/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export async function generateStaticParams() {
5656
}));
5757
}
5858

59-
// Set the title of the page to be the post title
59+
// Set the page title based on the member name
6060
export async function generateMetadata({ params }: Props) {
6161
const member = await getMemberBySlug(params.slug);
6262
return {

0 commit comments

Comments
 (0)