From 56ff7ae3a4a19968c571b58923d8b9a0444f428b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Mon, 11 May 2026 12:49:16 +0200 Subject: [PATCH] Fix --- packages/effect-fc/src/Component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/effect-fc/src/Component.ts b/packages/effect-fc/src/Component.ts index 14208ee..f1b14e9 100644 --- a/packages/effect-fc/src/Component.ts +++ b/packages/effect-fc/src/Component.ts @@ -63,12 +63,12 @@ export const ComponentPrototype: ComponentPrototype = Object.free this: Component, runtimeRef: React.RefObject>>, ) { - return ((props: P) => Runtime.runSync(runtimeRef.current)( + return (props: P) => Runtime.runSync(runtimeRef.current)( Effect.andThen( useScope([], this), scope => Effect.provideService(this.body(props), Scope.Scope, scope), ) - )) + ) }, setFunctionComponentName

(