1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 01:08:27 +00:00

init selected account in actions

This commit is contained in:
Szymon Lesisz 2018-05-28 16:56:34 +02:00
parent a9ad70d155
commit 19321dffa9

View File

@ -97,7 +97,10 @@ export const updateSelectedValues = (prevState: State, action: Action): AsyncAct
}
dispatch( dispose() );
if (location.state.send) {
}
if (needUpdate) {
if (location.state.send && state.sendForm.currency === "") {
dispatch( SendFormActions.init( SessionStorageActions.load(location.pathname) ) );
}
}