saleor: simplify the naming for GraphQL statements

This commit is contained in:
Zaiste
2021-05-12 12:07:26 +02:00
parent 42ae126b7b
commit 2fe2c71fc3
35 changed files with 76 additions and 110 deletions

View File

@@ -7,7 +7,7 @@ import useCommerceCart, {
import { Cart } from '../types'
import { SWRHook } from '@commerce/utils/types'
import { checkoutCreate, checkoutToCart, getCheckoutId } from '../utils'
import getCheckoutQuery from '../utils/queries/get-checkout-query'
import { getCheckoutQuery } from '../utils/queries'
export default useCommerceCart as UseCart<typeof handler>