From b43cddd06c82f0a3754268240965f7fab18e735f Mon Sep 17 00:00:00 2001
From: DMY <147dmy@gmail.com>
Date: Mon, 20 Jan 2025 18:59:52 +0800
Subject: [PATCH] fix
---
src/ui/views/GasAccount/components/WithdrawPopup.tsx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/ui/views/GasAccount/components/WithdrawPopup.tsx b/src/ui/views/GasAccount/components/WithdrawPopup.tsx
index 7786cf6a107..b5df90b1ee9 100644
--- a/src/ui/views/GasAccount/components/WithdrawPopup.tsx
+++ b/src/ui/views/GasAccount/components/WithdrawPopup.tsx
@@ -112,7 +112,7 @@ const Selector = ({
accountsList: IDisplayedAccountWithBalance[];
status: SelectorStatus;
onClose: () => void;
- selectAddressChainList: WithdrawListAddressItem;
+ selectAddressChainList?: WithdrawListAddressItem;
setChain: (chain: RechargeChainItem) => void;
setSelectAddressChainList: (item: WithdrawListAddressItem) => void;
withdrawList: WithdrawListAddressItem[];
@@ -528,7 +528,7 @@ const WithdrawContent = ({
/>
- ) : !selectedAccount ? (
+ ) : selectedAccount ? (
) : (
@@ -626,7 +626,7 @@ const WithdrawContent = ({
- {withdrawList && selectAddressChainList && (
+ {
- )}
+ }
);
};