add whishlist heart

This commit is contained in:
Julián Benegas
2020-10-22 20:46:48 -03:00
parent 91c4afd39e
commit 898acdd391
2 changed files with 9 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ import useAddItem from '@lib/bigcommerce/cart/use-add-item'
import { isDesktop } from '@lib/browser'
import type { ProductNode } from '@lib/bigcommerce/api/operations/get-product'
import { getProductOptions } from '../helpers'
import { Heart } from '@components/icon'
interface Props {
className?: string
children?: any
@@ -137,6 +139,9 @@ const ProductView: FC<Props> = ({ product, className }) => {
</div>
</section>
</div>
<div className={s.wishlistButton}>
<Heart />
</div>
</div>
</Container>
)