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 && ( + { - )} + } ); };