From 984ba216c3978087e619dda46c0f34a80d5a4e23 Mon Sep 17 00:00:00 2001 From: woodenfurniture <125113430+woodenfurniture@users.noreply.github.com> Date: Thu, 7 Nov 2024 10:25:25 +1100 Subject: [PATCH] fix: hide receive address ui when wallet receive address is loading --- .../components/SharedTradeInput/SharedRecipientAddress.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/MultiHopTrade/components/SharedTradeInput/SharedRecipientAddress.tsx b/src/components/MultiHopTrade/components/SharedTradeInput/SharedRecipientAddress.tsx index 1ee7692e85c..f4fa9065734 100644 --- a/src/components/MultiHopTrade/components/SharedTradeInput/SharedRecipientAddress.tsx +++ b/src/components/MultiHopTrade/components/SharedTradeInput/SharedRecipientAddress.tsx @@ -247,6 +247,10 @@ export const SharedRecipientAddress = ({ isWalletReceiveAddressLoading, }) + if (isWalletReceiveAddressLoading) { + return null + } + // The manual receive address input form if (isRecipientAddressEditing || shouldForceDisplayManualAddressEntry) { return (