Merge branch 'master' into storefront-data-hooks-imports

This commit is contained in:
B
2020-10-27 01:27:18 -03:00
committed by GitHub
20 changed files with 221 additions and 108 deletions

View File

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