Skip to content

Commit

Permalink
chore :: 코드 스타일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
KANGYONGSU23 committed Apr 5, 2024
1 parent 1d2da31 commit 899342f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/BookmarkCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ export default function BookmarkCard() {
<button className="w-6 h-6 absolute top-[14px] right-[14px] flex items-center justify-center bg-none border-none cursor-pointer"
onClick={(event: React.MouseEvent<HTMLElement>) => {
event.preventDefault();
setLocalBookmarks(prev=>{
const newLocalBookmarks = prev.filter(({recruitment_id: id}) => id !== recruitment_id);
return newLocalBookmarks
})
setLocalBookmarks(prev=>prev.filter(({recruitment_id: id}) => id !== recruitment_id))
SetBookmarksMutate(recruitment_id);
}}
>
Expand Down

0 comments on commit 899342f

Please sign in to comment.