Progress, Changes types, readme and restoring functionality

This commit is contained in:
Belen Curcio
2021-01-10 13:08:34 -03:00
parent ab16960ddb
commit 0d4355b431
11 changed files with 20 additions and 15 deletions

View File

@@ -1,13 +1,10 @@
import React, { FC, useState } from 'react'
import cn from 'classnames'
import { Heart } from '@components/icons'
import { useUI } from '@components/ui/context'
import type { ProductNode } from '@framework/api/operations/get-all-products'
import useCustomer from '@framework/customer/use-customer'
import useAddItem from '@framework/wishlist/use-add-item'
import useWishlist from '@framework/wishlist/use-wishlist'
import useRemoveItem from '@framework/wishlist/use-remove-item'
import { useUI } from '@components/ui'
import { useCustomer } from '@framework/customer'
import { useAddItem, useWishlist, useRemoveItem } from '@framework/wishlist'
type Props = {
productId: Product['id']