Skip to content

Commit

Permalink
feat: 좋아요 버튼의 색상 반전 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
minjongbaek committed Dec 4, 2023
1 parent 78a80c6 commit 38466af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/bookshelf/[bookshelfId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ export default function UserBookShelfPage({
>
<div className="bold flex items-center gap-[0.3rem] text-xs">
<IconHeart
fill={!data.isLiked ? '#F56565' : 'white'}
stroke={data.isLiked ? '#F56565' : 'white'}
fill={data.isLiked ? '#F56565' : 'white'}
stroke={!data.isLiked ? '#F56565' : 'white'}
stroke-width={1.5}
height="1.3rem"
w="1.3rem"
Expand Down

0 comments on commit 38466af

Please sign in to comment.