From 7f8f91bfc52f70eed426ec06e6bcf2b88d311dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Tue, 3 Mar 2026 13:20:19 +0100 Subject: [PATCH] Fix --- packages/effect-fc/src/Async.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/effect-fc/src/Async.ts b/packages/effect-fc/src/Async.ts index f35fc17..d8e55b6 100644 --- a/packages/effect-fc/src/Async.ts +++ b/packages/effect-fc/src/Async.ts @@ -24,7 +24,7 @@ export const AsyncPrototype: AsyncPrototype = Object.freeze({ const Inner = (props: { readonly [PromiseTypeId]: Promise }) => React.use(props[PromiseTypeId]) Inner.displayName = `${ this.displayName }Inner` - return (props: {}) => { + return (props: P) => { const promise = Runtime.runPromise(runtimeRef.current)( Effect.andThen( Component.useScope([], this),