diff --git a/src/stores/pairlistConfig.ts b/src/stores/pairlistConfig.ts index e405dcb62..27b581372 100644 --- a/src/stores/pairlistConfig.ts +++ b/src/stores/pairlistConfig.ts @@ -151,7 +151,7 @@ export const usePairlistConfigStore = defineStore( const { job_id: jobId } = await botStore.activeBot.evaluatePairlist(payload); console.log('jobId', jobId); - intervalId.value = setInterval(async () => { + intervalId.value = window.setInterval(async () => { const res = await botStore.activeBot.getBackgroundJobStatus(jobId); if (!res.running) { clearInterval(intervalId.value);