From da1720a9eca530e4bcf7024fc5b2329680839f44 Mon Sep 17 00:00:00 2001
From: Daniel <80175477+dan437@users.noreply.github.com>
Date: Mon, 10 May 2021 19:18:37 +0200
Subject: [PATCH] Fix redirection to the build quotes page from the swaps
failed page (#11025)
---
ui/pages/swaps/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/pages/swaps/index.js b/ui/pages/swaps/index.js
index a53c8527a..f48f78a4d 100644
--- a/ui/pages/swaps/index.js
+++ b/ui/pages/swaps/index.js
@@ -270,7 +270,7 @@ export default function Swap() {
render={() => {
if (tradeTxData && !conversionError) {
return ;
- } else if (tradeTxData) {
+ } else if (tradeTxData && routeState) {
return ;
} else if (routeState === 'loading' && aggregatorMetadata) {
return ;