completionId: cgen-a47f2179c1694cceb4dcb1ed950a9ec2

cgen-a47f2179c1694cceb4dcb1ed950a9ec2
This commit is contained in:
Builder.io 2025-11-13 06:32:30 +00:00
parent e11df334f6
commit a4666a3e5b

View file

@ -181,10 +181,15 @@ export default function ArmPostCard({
<Button
size="sm"
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}
>
<Heart className="h-4 w-4" />
<Heart
className="h-4 w-4"
fill={isLiked ? "currentColor" : "none"}
/>
</Button>
<Button
size="sm"