Skip to content

Commit 8a18083

Browse files
committed
fix: HelpPost component to handle async params
1 parent 8206099 commit 8a18083

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/frontend/src/app/(content)/(info)/help/[id]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export async function generateMetadata({
3434
};
3535
}
3636

37-
const HelpPost = ({ params }: HelpPageProps) => {
38-
const { id } = params;
37+
const HelpPost = async ({ params }: HelpPageProps) => {
38+
const { id } = await params;
3939
let post: PostType;
4040

4141
try {

0 commit comments

Comments
 (0)