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