1
0
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:
David Walsh 2020-12-07 09:13:24 -06:00 committed by Mark Stacey
parent b9cb0014ab
commit 374dc0ffd8

View File

@ -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)