mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 12:56:01 +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. |
||
---|---|---|
.. | ||
components | ||
contexts | ||
css | ||
ducks | ||
helpers | ||
pages | ||
selectors | ||
store |