Skip to content

Commit 0365a1c

Browse files
chore: stylistic changes
1 parent 9736b34 commit 0365a1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/utils/swap.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,9 @@ export function useSwapQuote(useSwapConfig: {
249249
const loadingBuyAmount = quoteRequestState.loadingType === "getBuyAmount"
250250

251251
useEffect(() => {
252-
if (useSwapConfig.pauseAutoRefresh) return undefined
252+
if (useSwapConfig.pauseAutoRefresh) {
253+
return
254+
}
253255

254256
const interval = setInterval(() => {
255257
if (quoteRequestState.quote) {

0 commit comments

Comments
 (0)