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

This commit is contained in:
Julien Valverdé
2025-05-05 03:09:17 +02:00
parent 5b3637afd8
commit 882ec9591c
2 changed files with 19 additions and 30 deletions

View File

@@ -18,20 +18,6 @@ export function VQueryErrorHandler() {
), [])
)
const error2 = R.useSubscribeStream(
R.useMemo(() => AppQueryErrorHandler.pipe(
Effect.flatMap()
Effect.map(handler => handler.errors.pipe(
Stream.changes,
Stream.tap(Console.error),
Stream.tap(() => Effect.sync(() => setOpen(true))),
))
), []),
() => Effect.fail(new Error()),
)
if (Option.isNone(error))
return <></>