mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Fix 9906 - Prevent unwanted 'no quotes available' message when going back to build quote screen while having insufficient funds (#9994)
This commit is contained in:
parent
b9cb0014ab
commit
374dc0ffd8
@ -325,7 +325,6 @@ export {
|
|||||||
export const navigateBackToBuildQuote = (history) => {
|
export const navigateBackToBuildQuote = (history) => {
|
||||||
return async (dispatch) => {
|
return async (dispatch) => {
|
||||||
// TODO: Ensure any fetch in progress is cancelled
|
// TODO: Ensure any fetch in progress is cancelled
|
||||||
await dispatch(resetSwapsPostFetchState())
|
|
||||||
dispatch(navigatedBackToBuildQuote())
|
dispatch(navigatedBackToBuildQuote())
|
||||||
|
|
||||||
history.push(BUILD_QUOTE_ROUTE)
|
history.push(BUILD_QUOTE_ROUTE)
|
||||||
|
Loading…
Reference in New Issue
Block a user