mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
Fixing build error
This commit is contained in:
parent
0c864627bd
commit
cad3ad7756
14
framework/elasticpath/checkout/use-checkout.tsx
Normal file
14
framework/elasticpath/checkout/use-checkout.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
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) => ({}),
|
||||
}
|
4
next-env.d.ts
vendored
4
next-env.d.ts
vendored
@ -1,3 +1,5 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/types/global" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
||||
|
Loading…
x
Reference in New Issue
Block a user