4
0
forked from crowetic/commerce
This commit is contained in:
Belen Curcio 2020-10-26 23:43:34 -03:00
parent 1c454f35ec
commit 9c266d2611

View File

@ -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>