shopify: changes

This commit is contained in:
Bel Curcio
2021-02-25 07:48:14 -03:00
parent e10d50c55a
commit 3b386e3d55
5 changed files with 88 additions and 34 deletions

View File

@@ -1,12 +1,12 @@
import React, { FC, useState } from 'react'
import cn from 'classnames'
import { useUI } from '@components/ui'
import type { Product, ProductVariant } from '@commerce/types'
import { Heart } from '@components/icons'
import useAddItem from '@framework/wishlist/use-add-item'
import useCustomer from '@framework/customer/use-customer'
import useRemoveItem from '@framework/wishlist/use-remove-item'
import useWishlist from '@framework/wishlist/use-wishlist'
import useRemoveItem from '@framework/wishlist/use-remove-item'
import type { Product, ProductVariant } from '@commerce/types'
type Props = {
productId: Product['id']