Fix
Some checks failed
Lint / lint (push) Failing after 10s

This commit is contained in:
Julien Valverdé
2025-01-12 23:50:49 +01:00
parent d8553e95e2
commit edec837a87

View File

@@ -1,4 +1,4 @@
import { Context, Effect, Fiber, FiberRefs, Ref, Runtime, RuntimeFlags, Scope, Stream, SubscriptionRef } from "effect"
import { Context, Effect, Fiber, Ref, Runtime, Scope, Stream, SubscriptionRef } from "effect"
import React from "react"
import type * as ReffuseReactContext from "./ReffuseReactContext.js"
import * as ReffuseReactContextProvider from "./ReffuseReactContextProvider.js"
@@ -110,9 +110,6 @@ export class Reffuse<R> {
}
// TODO: allow passing runtime
export const make = <R = never>(): Reffuse<R> =>
new Reffuse(Runtime.make({
context: Context.empty(),
runtimeFlags: RuntimeFlags.make(),
fiberRefs: FiberRefs.empty(),
}))
new Reffuse(Runtime.defaultRuntime)