diff --git a/packages/core/useTimeoutPoll/index.ts b/packages/core/useTimeoutPoll/index.ts index c2a4bb819d4..9a455f9cfda 100644 --- a/packages/core/useTimeoutPoll/index.ts +++ b/packages/core/useTimeoutPoll/index.ts @@ -3,7 +3,7 @@ import type { Awaitable, MaybeRefOrGetter, Pausable, UseTimeoutFnOptions } from import { tryOnScopeDispose, useTimeoutFn } from '@vueuse/shared' export function useTimeoutPoll(fn: () => Awaitable, interval: MaybeRefOrGetter, timeoutPollOptions?: UseTimeoutFnOptions): Pausable { - const { start } = useTimeoutFn(loop, interval) + const { start } = useTimeoutFn(loop, interval, { immediate: false }) const isActive = ref(false)