mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
e20ca4668e
`addToAddressBook` returned a thunk that didn't return a Promise, despite doing async work. It now returns a Promise. The callers of this action creator were updated to `await` the completion of the operation. It was called just before redirecting the user to a different page or closing a modal, and it seemed appropriate to wait before doing those things. |
||
---|---|---|
.. | ||
actionConstants.js | ||
actions.js | ||
store.js |