1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-09 15:40:55 +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>
<WalletTypeIcon
onClick={(e) => {
if (isDeviceReady) {
if (selectedDevice && isDeviceReady) {
this.props.duplicateDevice(selectedDevice);
e.stopPropagation();
}