index.ts broke my tree shaking

This commit is contained in:
Belen Curcio
2021-01-11 13:55:45 -03:00
parent 28b244760a
commit 8f9bbe19ca
12 changed files with 28 additions and 34 deletions

View File

@@ -3,8 +3,10 @@ import cn from 'classnames'
import { Heart } from '@components/icons'
import { useUI } from '@components/ui'
import { useCustomer } from '@framework/customer'
import { useAddItem, useWishlist, useRemoveItem } from '@framework/wishlist'
import useCustomer from '@framework/customer/use-customer'
import useAddItem from '@framework/wishlist/use-add-item'
import useRemoveItem from '@framework/wishlist/use-remove-item'
import useWishlist from '@framework/wishlist/use-add-item'
type Props = {
productId: Product['id']