diff --git a/src/app/[country]/board/[Id]/page.tsx b/src/app/[country]/board/[Id]/page.tsx index 941bcad..5a58070 100644 --- a/src/app/[country]/board/[Id]/page.tsx +++ b/src/app/[country]/board/[Id]/page.tsx @@ -17,9 +17,7 @@ const Page = async ({ params }: { params: { id: string } }) => { const boardData = await fetch( `http://${host}/api/board?boardId=${params.id}`, - ).then((res) => { - return res.json(); - }); + ).then((res) => res.json()); const boardDetail: BoardDetailType = boardData.data;