diff --git a/packages/react-app/src/wallets/WalletDetails/WalletDetails.tsx b/packages/react-app/src/wallets/WalletDetails/WalletDetails.tsx index 56f301f23..d26603a93 100644 --- a/packages/react-app/src/wallets/WalletDetails/WalletDetails.tsx +++ b/packages/react-app/src/wallets/WalletDetails/WalletDetails.tsx @@ -106,6 +106,20 @@ const WalletDetails: React.FC = ({ const [tab, setTab] = React.useState(initialTab ?? WalletTabs.BALANCE); + const renderTabs = (): React.ReactNode => { + const tabs = []; + + if (hasEthereumEntry) { + tabs.push(); + } + + return [ + ...tabs, + , + , + ]; + }; + React.useEffect(() => { if (currentWallet.current !== walletId) { currentWallet.current = walletId; @@ -128,10 +142,7 @@ const WalletDetails: React.FC = ({
setTab(selected)}> - - {hasEthereumEntry && } - - + {renderTabs()}