Skip to content

Commit

Permalink
동행글 상세보기 boardData수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kxmmxnzx committed Oct 31, 2024
1 parent c7dd40e commit 10c7348
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/[country]/board/[Id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 10c7348

Please sign in to comment.