Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 9, 2023
1 parent 10b1b95 commit 8ae6178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/useFetch/index.ts
Expand Up @@ -398,15 +398,15 @@ export function useFetch<T>(url: MaybeRefOrGetter<string>, ...args: any[]): UseF
timer = useTimeoutFn(abort, timeout, { immediate: false })

let executeCounter = 0

const execute = async (throwOnFailed = false) => {
abort()

loading(true)
error.value = null
statusCode.value = null
aborted.value = false

executeCounter += 1
const currentExecuteCounter = executeCounter

Expand Down

0 comments on commit 8ae6178

Please sign in to comment.