1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/store
Mark Stacey b58c0d7810
Skip state update upon failure (#8432)
Many of the "message manager" background methods return a full copy of
the background state in their response; presumably to save us from
making a full round-trip to update the UI `metamask` state after it
changes. However, the action creators responsible for calling these
methods were calling `updateMetamaskState` even when the background
method failed. In effect, they were setting the UI `metamask` state to
`undefined`.

They have been updated to only set the UI `metamask` state if the
background method succeeded.
2020-04-27 20:32:15 -03:00
..
actionConstants.js Remove leftover references to Coinbase (#8403) 2020-04-23 20:32:15 -03:00
actions.js Skip state update upon failure (#8432) 2020-04-27 20:32:15 -03:00
store.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30