1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui
Mark Stacey e20ca4668e
Return Promise from addToAddressBook thunk (#8450)
`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.
2020-04-29 01:59:49 -03:00
..
app Return Promise from addToAddressBook thunk (#8450) 2020-04-29 01:59:49 -03:00
lib Prevent accidental use of globals (#8340) 2020-04-15 14:23:27 -03:00
index.js Correctly detect changes to background state (#8435) 2020-04-28 10:40:28 -03:00