mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 19:51:23 +00:00
Add files to providers
This commit is contained in:
12
framework/bigcommerce/checkout/use-checkout.tsx
Normal file
12
framework/bigcommerce/checkout/use-checkout.tsx
Normal 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) => ({})
|
||||
}
|
Reference in New Issue
Block a user