From f374b38660b405b885301c648d6b03d221dc1780 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Mon, 28 Nov 2022 03:29:11 -0800 Subject: [PATCH] Fix infinite spinner on routing failed without failure reason --- frontend/src/components/TradeBox/Prompts/RoutingFailed.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/TradeBox/Prompts/RoutingFailed.tsx b/frontend/src/components/TradeBox/Prompts/RoutingFailed.tsx index 4f602b2e..f14bdef0 100644 --- a/frontend/src/components/TradeBox/Prompts/RoutingFailed.tsx +++ b/frontend/src/components/TradeBox/Prompts/RoutingFailed.tsx @@ -69,7 +69,7 @@ export const RoutingFailedPrompt = ({ } }; - if (order.invoice_expired && order.failure_reason) { + if (order.invoice_expired) { return (