Fix
All checks were successful
Lint / lint (push) Successful in 12s

This commit is contained in:
Julien Valverdé
2026-03-03 13:20:19 +01:00
parent 45b38d6c1f
commit 7f8f91bfc5

View File

@@ -24,7 +24,7 @@ export const AsyncPrototype: AsyncPrototype = Object.freeze({
const Inner = (props: { readonly [PromiseTypeId]: Promise<React.ReactNode> }) => React.use(props[PromiseTypeId]) const Inner = (props: { readonly [PromiseTypeId]: Promise<React.ReactNode> }) => React.use(props[PromiseTypeId])
Inner.displayName = `${ this.displayName }Inner` Inner.displayName = `${ this.displayName }Inner`
return (props: {}) => { return (props: P) => {
const promise = Runtime.runPromise(runtimeRef.current)( const promise = Runtime.runPromise(runtimeRef.current)(
Effect.andThen( Effect.andThen(
Component.useScope([], this), Component.useScope([], this),