mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 01:08:27 +00:00
reset "remember" field while switching wallet type
This commit is contained in:
parent
d6af3d6dfa
commit
d8331cece0
@ -269,6 +269,7 @@ const onChangeWalletType = (state: State, device: TrezorDevice, hidden: boolean)
|
||||
const changedDevices = affectedDevices.map((d) => { // eslint-disable-line arrow-body-style
|
||||
return d.type === 'acquired' ? {
|
||||
...d,
|
||||
remember: false,
|
||||
state: null,
|
||||
useEmptyPassphrase: !hidden,
|
||||
ts: new Date().getTime(),
|
||||
|
Loading…
Reference in New Issue
Block a user