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