mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
add whishlist heart
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
Reference in New Issue
Block a user