Commit 99a7fb33 authored by vignesh mohankumar's avatar vignesh mohankumar Committed by GitHub

fix: remove refetchOnFocus for routing-api (#4601)

parent 7f4dbf93
......@@ -45,7 +45,6 @@ export function useRoutingAPITrade<TTradeType extends TradeType>(
const { isLoading, isError, data, currentData } = useGetQuoteQuery(queryArgs ?? skipToken, {
pollingInterval: ms`15s`,
refetchOnFocus: true,
})
const quoteResult: GetQuoteResult | undefined = useIsValidBlock(Number(data?.blockNumber) || 0) ? data : undefined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment