From 324c9d62ef9b30b41178865d11f9d940972a4656 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Fri, 11 Aug 2023 09:47:24 +0300 Subject: [PATCH] docs: fix method names in complete checkout code block (#4746) Closes #4744 --- .../carts-and-checkout/storefront/implement-checkout-flow.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/modules/carts-and-checkout/storefront/implement-checkout-flow.mdx b/docs/content/modules/carts-and-checkout/storefront/implement-checkout-flow.mdx index fd14808a33..c274112447 100644 --- a/docs/content/modules/carts-and-checkout/storefront/implement-checkout-flow.mdx +++ b/docs/content/modules/carts-and-checkout/storefront/implement-checkout-flow.mdx @@ -560,8 +560,8 @@ const Cart = () => { const { completeCheckout } = useCart() // ... - const handleStartCheckout = () => { - startCheckout.mutate() + const handleCompleteCheckout = () => { + completeCheckout.mutate() } // ...