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

This commit is contained in:
Julien Valverdé
2025-07-01 16:16:29 +02:00
parent bb1a71f63b
commit 02ee2c10cc
2 changed files with 4 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ const MyTestComponent = pipe(
const service = yield* SubService
const [value] = yield* ReactHook.useSubscribeRefs(service.ref)
yield* ReactHook.useEffect(() => Effect.andThen(
yield* ReactHook.useMemo(() => Effect.andThen(
Effect.addFinalizer(() => Console.log("MyTestComponent umounted")),
Console.log("MyTestComponent mounted"),
), [])