mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 14:42:31 +00:00
Changes
This commit is contained in:
parent
1c454f35ec
commit
9c266d2611
@ -62,9 +62,10 @@ const WishlistButton: FC<Props> = ({
|
||||
|
||||
return (
|
||||
<button
|
||||
{...props}
|
||||
aria-label="Add to wishlist"
|
||||
className={cn({ 'opacity-50': loading }, className)}
|
||||
onClick={handleWishlistChange}
|
||||
{...props}
|
||||
>
|
||||
<Heart fill={itemInWishlist ? 'var(--pink)' : 'none'} />
|
||||
</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user