mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Reset swaps routeState in navigateBackToBuildQuote (#10166)
This commit is contained in:
parent
ab3b64e643
commit
b1fc4addfd
@ -329,8 +329,8 @@ export {
|
||||
export const navigateBackToBuildQuote = (history) => {
|
||||
return async (dispatch) => {
|
||||
// TODO: Ensure any fetch in progress is cancelled
|
||||
await dispatch(setBackgroundSwapRouteState(''))
|
||||
dispatch(navigatedBackToBuildQuote())
|
||||
|
||||
history.push(BUILD_QUOTE_ROUTE)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user