Skip to content

Commit 2222d13

Browse files
committed
fix: get slugs command
1 parent 96dae09 commit 2222d13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pwa/app/(con)/[locale]/con/[edition]/conferences/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function generateStaticParams({
5757
}: {
5858
params: { edition: string; locale: Locale };
5959
}) {
60-
const slugs = await getAllConferenceSlugs(edition, locale);
60+
const slugs = await getAllConferenceSlugs(edition);
6161

6262
return slugs.map((slug: string) => ({
6363
slug,

pwa/app/sitemap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function getAllConRoutes() {
4646
createLocalePath(locale, `con/${edition}/speakers/${speaker}`)
4747
);
4848

49-
const conferences = await getAllConferenceSlugs(edition, locale);
49+
const conferences = await getAllConferenceSlugs(edition);
5050
for (const conference of conferences)
5151
routes.push(
5252
createLocalePath(locale, `con/${edition}/conferences/${conference}`)

0 commit comments

Comments
 (0)