fix: don't call debounced restart too much
This commit is contained in:
@@ -432,6 +432,7 @@ export function useQueryImpl<
|
||||
}
|
||||
|
||||
function restart () {
|
||||
if (!started || restarting) return
|
||||
if (!isRestartDebounceSetup) updateRestartFn()
|
||||
debouncedRestart()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user