mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +00:00
Make submit checkout optional
This commit is contained in:
parent
ed1edfbed4
commit
458a1926f3
@ -30,7 +30,7 @@ export type GetCheckoutHook<T extends CheckoutTypes = CheckoutTypes> = {
|
||||
}
|
||||
|
||||
export type CheckoutHooks<T extends CheckoutTypes = CheckoutTypes> = {
|
||||
submitCheckout: SubmitCheckoutHook<T>
|
||||
submitCheckout?: SubmitCheckoutHook<T>
|
||||
getCheckout: GetCheckoutHook<T>
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user