1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-10 08:00:57 +00:00

fix flow issue

This commit is contained in:
slowbackspace 2019-01-16 16:31:11 +01:00
parent 39a119f071
commit e90ed86bfc

View File

@ -229,7 +229,7 @@ class LeftNavigation extends React.PureComponent<Props, State> {
<WalletTypeIconWrapper> <WalletTypeIconWrapper>
<WalletTypeIcon <WalletTypeIcon
onClick={(e) => { onClick={(e) => {
if (isDeviceReady) { if (selectedDevice && isDeviceReady) {
this.props.duplicateDevice(selectedDevice); this.props.duplicateDevice(selectedDevice);
e.stopPropagation(); e.stopPropagation();
} }