We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9736b34 commit 0365a1cCopy full SHA for 0365a1c
ui/utils/swap.ts
@@ -249,7 +249,9 @@ export function useSwapQuote(useSwapConfig: {
249
const loadingBuyAmount = quoteRequestState.loadingType === "getBuyAmount"
250
251
useEffect(() => {
252
- if (useSwapConfig.pauseAutoRefresh) return undefined
+ if (useSwapConfig.pauseAutoRefresh) {
253
+ return
254
+ }
255
256
const interval = setInterval(() => {
257
if (quoteRequestState.quote) {
0 commit comments