diff --git a/src/components/Header/WalletAccountSwitcher/account-wallet-dropdown.jsx b/src/components/Header/WalletAccountSwitcher/account-wallet-dropdown.jsx index 93ca3bfb9..586ff3b90 100644 --- a/src/components/Header/WalletAccountSwitcher/account-wallet-dropdown.jsx +++ b/src/components/Header/WalletAccountSwitcher/account-wallet-dropdown.jsx @@ -61,7 +61,11 @@ const AccountWalletDropdown = React.forwardRef(({ setIsAccDropdownOpen }, dropdo {translate('Looking for CFDs? Go to Trader\'s hub')} - + diff --git a/src/components/Header/WalletAccountSwitcher/wallet-icon.jsx b/src/components/Header/WalletAccountSwitcher/wallet-icon.jsx index 24baf2193..dbf665c0d 100644 --- a/src/components/Header/WalletAccountSwitcher/wallet-icon.jsx +++ b/src/components/Header/WalletAccountSwitcher/wallet-icon.jsx @@ -10,12 +10,19 @@ const WalletIcon = ({ currency, is_virtual, currency_icon }) => { return wallet_icons.includes(_currency.toLowerCase()); }; + const src_path = + isWalletIcon(currency) && !is_virtual + ? `${wallet_icon_path}${currency_icon}.svg` + : is_virtual + ? `${wallet_icon_path}ic-wallet-deriv-demo-light.svg` + : default_currency_icon_path; + return (