fix: remove refetchOnFocus for routing-api (#4601)
This commit is contained in:
parent
7f4dbf9346
commit
99a7fb3383
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user