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

This commit is contained in:
Julien Valverdé
2025-07-01 16:31:30 +02:00
parent 02ee2c10cc
commit 8025ec4a22
2 changed files with 12 additions and 9 deletions

View File

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