Add files to providers

This commit is contained in:
goncy
2021-09-15 14:29:02 -03:00
parent d5d0b09cdb
commit c61641d6a4
36 changed files with 231 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
import { SWRHook } from '@commerce/utils/types'
import useCheckout, { UseCheckout } from '@commerce/checkout/use-checkout'
export default useCheckout as UseCheckout<typeof handler>
export const handler: SWRHook<any> = {
fetchOptions: {
query: '',
},
async fetcher({ input, options, fetch }) {},
useHook: ({ useData }) => async (input) => ({})
}