4
0
forked from crowetic/commerce

add single module for useCart

This commit is contained in:
Luis Alvarez
2020-10-09 17:21:39 -05:00
parent 939bc388bb
commit 48e4cef4e7
5 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
import { useCallback } from 'react'
import { HookFetcher } from '@lib/commerce/utils/types'
import { default as useCartRemoveItem } from '@lib/commerce/cart/use-remove-item'
import useCartRemoveItem from '@lib/commerce/cart/use-remove-item'
import type { RemoveItemBody } from '../api/cart'
import { Cart, useCart } from '.'