Scope fix
Some checks failed
Lint / lint (push) Failing after 11s

This commit is contained in:
Julien Valverdé
2025-01-15 23:30:02 +01:00
parent 9ff34addcd
commit 2adc6ed186

View File

@@ -77,7 +77,7 @@ export class Reffuse<R> {
return React.useEffect(() => {
const scope = Scope.make().pipe(
Effect.tap(scope => Scope.use(effect, scope)),
Effect.tap(scope => Effect.provideService(effect, Scope.Scope, scope)),
runSync,
)