0.1.0 #1
@@ -77,7 +77,7 @@ export class Reffuse<R> {
|
|||||||
|
|
||||||
return React.useEffect(() => {
|
return React.useEffect(() => {
|
||||||
const scope = Scope.make().pipe(
|
const scope = Scope.make().pipe(
|
||||||
Effect.tap(scope => Scope.use(effect, scope)),
|
Effect.tap(scope => Effect.provideService(effect, Scope.Scope, scope)),
|
||||||
runSync,
|
runSync,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user