Skip to content

Commit

Permalink
chore: 불필요한 await 설정 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
bae-sh committed Dec 28, 2023
1 parent b253927 commit baf0dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/board/PostContent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function PostContent({ postOriginId }: IProps) {

const { data } = useQuery({
queryKey: [`${postOriginId}`],
queryFn: async () => await postManager.getPost({ postOriginId }),
queryFn: () => postManager.getPost({ postOriginId }),
retry: false,
suspense: true,
});
Expand Down

0 comments on commit baf0dd0

Please sign in to comment.