mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Hide loading indication after personal_sign
(#9006)
The loading indication had remained after successfully signing with `personal_sign`. This mistake was introduced accidentally in #8434. This is noticeable if you confirm the signature in the popup UI or fullscreen UI, as they remain open after signing. The notification UI closes after signing without waiting for this loading indicator to be removed.
This commit is contained in:
parent
acaa648779
commit
7333d821b8
@ -475,6 +475,7 @@ export function signPersonalMsg (msgData) {
|
|||||||
dispatch(displayWarning(error.message))
|
dispatch(displayWarning(error.message))
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
|
dispatch(hideLoadingIndication())
|
||||||
dispatch(updateMetamaskState(newState))
|
dispatch(updateMetamaskState(newState))
|
||||||
dispatch(completedTx(msgData.metamaskId))
|
dispatch(completedTx(msgData.metamaskId))
|
||||||
dispatch(closeCurrentNotificationWindow())
|
dispatch(closeCurrentNotificationWindow())
|
||||||
|
Loading…
Reference in New Issue
Block a user