mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-06 06:42:34 +00:00
Use 'device.status' instead of 'device.isUsedElsewhere'
This commit is contained in:
parent
7fa386d67b
commit
e1b7591a98
@ -57,6 +57,7 @@ export default function modal(state: State = initialState, action: Action): Stat
|
||||
if (state.opened && action.device.path === state.device.path && action.device.status === 'occupied') {
|
||||
return initialState;
|
||||
}
|
||||
|
||||
return state;
|
||||
|
||||
case DEVICE.DISCONNECT:
|
||||
|
Loading…
Reference in New Issue
Block a user