Cleanup
All checks were successful
Lint / lint (push) Successful in 13s

This commit is contained in:
Julien Valverdé
2025-03-09 18:21:35 +01:00
parent c689778cea
commit 1ed73dc3ac
2 changed files with 2 additions and 10 deletions

View File

@@ -31,14 +31,6 @@ export const QueryExtension = ReffuseExtension.make(() => ({
query: props.query,
}), [props.key])
// this.useFork(() => Effect.addFinalizer(() => runner.forkInterrupt).pipe(
// Effect.andThen(Stream.runForEach(runner.key, () =>
// Ref.set(runner.queryRef, props.query()).pipe(
// Effect.andThen(runner.forkFetch)
// )
// ))
// ), [runner])
this.useFork(() => runner.fetchOnKeyChange, [runner])
this.useFork(() => (props.refreshOnWindowFocus ?? true)