Skip to content

Commit

Permalink
🚨 Fix(#298): 둜그인 ν•˜μ§€ μ•Šμ€ μƒνƒœμ—μ„œ μ’‹μ•„μš” api μš”μ²­ 보내지 μ•Šκ²Œ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
JIY00N2 committed Nov 30, 2023
1 parent 5101da9 commit a75b02c
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions src/app/(steady)/steady/detail/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,20 +172,12 @@ const SteadyDetailPage = ({ params }: { params: { id: string } }) => {
/>
}
trigger={
<button onClick={() => mutate(steadyId)}>
{steadyDetailsData.isLiked ? (
<Icon
name="heart"
size={30}
color="text-st-red"
/>
) : (
<Icon
name="empty-heart"
size={30}
color="text-black"
/>
)}
<button>
<Icon
name="empty-heart"
size={30}
color="text-black"
/>
</button>
}
>
Expand Down

0 comments on commit a75b02c

Please sign in to comment.