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:
parent
39a119f071
commit
e90ed86bfc
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user