From 368ef0a82625e180dd0f91919d8dc7c2defd67e3 Mon Sep 17 00:00:00 2001 From: kris-liu-smile Date: Tue, 11 Jul 2023 17:02:43 +0800 Subject: [PATCH] fix: quoteDraft submit address --- apps/storefront/src/pages/quote/QuoteDraft.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/storefront/src/pages/quote/QuoteDraft.tsx b/apps/storefront/src/pages/quote/QuoteDraft.tsx index 47881305..a74e8ae6 100644 --- a/apps/storefront/src/pages/quote/QuoteDraft.tsx +++ b/apps/storefront/src/pages/quote/QuoteDraft.tsx @@ -442,7 +442,7 @@ function QuoteDraft({ setOpenPage }: QuoteDraftProps) { const { shippingAddress: editShippingAddress, billingAddress: editBillingAddress, - } = getAddress() + } = billingRef?.current ? getAddress() : info const shippingAddress = editShippingAddress ? perfectAddress(editShippingAddress)