Skip to content

Commit

Permalink
Fix : 클라이언트 컴포넌트 Async 태그 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
jobkaeHenry committed Nov 26, 2023
1 parent 85dffbd commit 6cf1bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/post/PostDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface PostDetailInterface {
postNo: string;
initialData: PostInterface;
}
const PostDetail = async ({ postNo, initialData }: PostDetailInterface) => {
const PostDetail = ({ postNo, initialData }: PostDetailInterface) => {
const { data } = useGetPostDetailQuery(postNo, { initialData });
//FIXME 포스트의 좋아요갯수가 업데이트 되지않음
return data ? (
Expand Down

0 comments on commit 6cf1bb3

Please sign in to comment.