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 useAddItem, { UseAddItem } from '@commerce/customer/card/use-add-item'
import { MutationHook } from '@commerce/utils/types'
export default useAddItem as UseAddItem<typeof handler>
export const handler: MutationHook<any> = {
fetchOptions: {
query: '',
},
async fetcher({ input, options, fetch }) {},
useHook: ({ fetch }) => () => async () => ({})
}