diff --git a/src/state/routing/useRoutingAPITrade.ts b/src/state/routing/useRoutingAPITrade.ts index ea509a8beea..9b97f84355e 100644 --- a/src/state/routing/useRoutingAPITrade.ts +++ b/src/state/routing/useRoutingAPITrade.ts @@ -67,7 +67,7 @@ export function useRoutingAPITrade( useEffect(() => { const args = queryArgs if (skipFetch) return - if (args === skipToken) return + if (args === skipToken) return setResult({ state: TradeState.INVALID, trade: undefined, currentTrade: undefined }) async function updateResults(args: GetQuoteArgs) { if (document.hidden) return const walletProvider = provider