forked from crowetic/commerce
Changes
This commit is contained in:
parent
1c454f35ec
commit
9c266d2611
@ -62,9 +62,10 @@ const WishlistButton: FC<Props> = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
{...props}
|
aria-label="Add to wishlist"
|
||||||
className={cn({ 'opacity-50': loading }, className)}
|
className={cn({ 'opacity-50': loading }, className)}
|
||||||
onClick={handleWishlistChange}
|
onClick={handleWishlistChange}
|
||||||
|
{...props}
|
||||||
>
|
>
|
||||||
<Heart fill={itemInWishlist ? 'var(--pink)' : 'none'} />
|
<Heart fill={itemInWishlist ? 'var(--pink)' : 'none'} />
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user