completionId: cgen-a47f2179c1694cceb4dcb1ed950a9ec2
cgen-a47f2179c1694cceb4dcb1ed950a9ec2
This commit is contained in:
parent
e11df334f6
commit
a4666a3e5b
1 changed files with 7 additions and 2 deletions
|
|
@ -181,10 +181,15 @@ export default function ArmPostCard({
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
className="h-8 w-8 p-0 hover:bg-foreground/5"
|
className={`h-8 w-8 p-0 hover:bg-foreground/5 transition-colors ${
|
||||||
|
isLiked ? "text-red-500 hover:text-red-600" : ""
|
||||||
|
}`}
|
||||||
onClick={onLike}
|
onClick={onLike}
|
||||||
>
|
>
|
||||||
<Heart className="h-4 w-4" />
|
<Heart
|
||||||
|
className="h-4 w-4"
|
||||||
|
fill={isLiked ? "currentColor" : "none"}
|
||||||
|
/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue