diff --git a/src/views/Wallet/components/LeftNavigation/index.js b/src/views/Wallet/components/LeftNavigation/index.js index cd0a05bd..4a89a1e1 100644 --- a/src/views/Wallet/components/LeftNavigation/index.js +++ b/src/views/Wallet/components/LeftNavigation/index.js @@ -269,73 +269,76 @@ class LeftNavigation extends React.PureComponent { selectedDevice && selectedDevice.connected && selectedDevice.available; return ( - + <> -
{ - if (isDeviceAccessible || this.props.devices.length > 1) { - this.handleOpen(); - } - }} - device={selectedDevice} - disabled={!isDeviceAccessible && this.props.devices.length === 1} - isOpen={this.props.wallet.dropdownOpened} - icon={ - - {showWalletType && ( - - } - maxWidth={200} - placement="bottom" - mouseEnterDelay={0.5} - > - - { - if (selectedDevice && isDeviceReady) { - this.props.duplicateDevice(selectedDevice); - e.stopPropagation(); + +
{ + if (isDeviceAccessible || this.props.devices.length > 1) { + this.handleOpen(); + } + }} + device={selectedDevice} + disabled={!isDeviceAccessible && this.props.devices.length === 1} + isOpen={this.props.wallet.dropdownOpened} + icon={ + + {showWalletType && ( + + } + maxWidth={200} + placement="bottom" + mouseEnterDelay={0.5} + > + + { + if (selectedDevice && isDeviceReady) { + this.props.duplicateDevice(selectedDevice); + e.stopPropagation(); + } + }} + hoverColor={ + isDeviceReady + ? colors.TEXT_PRIMARY + : colors.TEXT_SECONDARY } - }} - hoverColor={ - isDeviceReady - ? colors.TEXT_PRIMARY - : colors.TEXT_SECONDARY - } - type={walletType} - size={16} - color={colors.TEXT_SECONDARY} - /> - - - )} - {this.props.devices.length > 1 && ( - - } - maxWidth={200} - placement="bottom" - mouseEnterDelay={0.5} - > - - {this.props.devices.length} - - - )} - {/* + + + )} + {this.props.devices.length > 1 && ( + + } + maxWidth={200} + placement="bottom" + mouseEnterDelay={0.5} + > + + {this.props.devices.length} + + + )} + {/* { */} - - - - } - {...this.props} - /> - - {dropdownOpened && } - {isDeviceAccessible && menu} - - - + + + + } + {...this.props} + /> + + {dropdownOpened && } + {isDeviceAccessible && menu} + + + + ); } }