4
0
forked from crowetic/commerce

Updated paths to useCart

This commit is contained in:
Luis Alvarez
2020-10-09 17:43:10 -05:00
parent 48e4cef4e7
commit a92dcb851b
6 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ import { useCallback } from 'react'
import { HookFetcher } from '@lib/commerce/utils/types'
import useCartRemoveItem from '@lib/commerce/cart/use-remove-item'
import type { RemoveItemBody } from '../api/cart'
import { Cart, useCart } from '.'
import useCart, { Cart } from './use-cart'
const defaultOpts = {
url: '/api/bigcommerce/cart',