mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
init selected account in actions
This commit is contained in:
parent
a9ad70d155
commit
19321dffa9
@ -97,7 +97,10 @@ export const updateSelectedValues = (prevState: State, action: Action): AsyncAct
|
|||||||
}
|
}
|
||||||
|
|
||||||
dispatch( dispose() );
|
dispatch( dispose() );
|
||||||
if (location.state.send) {
|
}
|
||||||
|
|
||||||
|
if (needUpdate) {
|
||||||
|
if (location.state.send && state.sendForm.currency === "") {
|
||||||
dispatch( SendFormActions.init( SessionStorageActions.load(location.pathname) ) );
|
dispatch( SendFormActions.init( SessionStorageActions.load(location.pathname) ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user