diff --git a/src/useAsyncFn.ts b/src/useAsyncFn.ts index d330ffbadc..052b99dc4a 100644 --- a/src/useAsyncFn.ts +++ b/src/useAsyncFn.ts @@ -45,9 +45,7 @@ export default function useAsyncFn( const callback = useCallback((...args: Parameters): ReturnType => { const callId = ++lastCallId.current; - if (!state.loading) { - set((prevState) => ({ ...prevState, loading: true })); - } + set((prevState) => ({ ...prevState, loading: true })); return fn(...args).then( (value) => {