Skip to content

Commit

Permalink
added talks
Browse files Browse the repository at this point in the history
  • Loading branch information
Lory1990 authored Sep 24, 2024
1 parent a9f8a70 commit 7626fdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/events/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export async function generateStaticParams() : Promise<{ slug: string }[]> {
try{
console.log("generateStaticParams")
const talks = await NotionApiClient().fetchEvents()
console.log("Talks", talks)
const out = talks.map(single =>{
return {
slug: getPlainTextFromBlock((single as PageObjectResponse)?.properties?.slug)
Expand Down

0 comments on commit 7626fdc

Please sign in to comment.