Skip to content

Commit b323da5

Browse files
committed
fix: BlogPageProps and HelpPageProps to use Promise for params
1 parent 9c75b72 commit b323da5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/frontend/src/app/(content)/(info)/blog/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { PostType, getPostData } from '@web/lib/posts';
77
import { CustomMarkdown } from '@web/modules/shared/components/CustomMarkdown';
88

99
type BlogPageProps = {
10-
params: { id: string };
10+
params: Promise<{ id: string }>;
1111
};
1212

1313
export async function generateMetadata({

apps/frontend/src/app/(content)/(info)/help/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { PostType, getPostData } from '@web/lib/posts';
77
import { CustomMarkdown } from '@web/modules/shared/components/CustomMarkdown';
88

99
type HelpPageProps = {
10-
params: { id: string };
10+
params: Promise<{ id: string }>;
1111
};
1212

1313
export async function generateMetadata({

0 commit comments

Comments
 (0)