mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
3ab00b48df
`setSelectedAddress` returned a thunk that didn't return a Promise, despite doing async work. It now returns a Promise. This action creator was only called in two places, and neither benefit from using the Promise now returned. They were both event handlers. In both cases there was an existing Promise chain, but the only thing after this set was a `catch` block that displayed any error encountered. I decided not to return the result of `setSelectedAddress` to this chain, because all it would do is set the warning a second time in the event of failure. |
||
---|---|---|
.. | ||
actions | ||
app | ||
migrations | ||
responsive/components | ||
ui | ||
balance-formatter-test.js | ||
localhostState.js |