API update

This commit is contained in:
Julien Valverdé
2025-02-25 14:48:58 +01:00
parent 8754020323
commit 44de864713
8 changed files with 42 additions and 44 deletions

View File

@@ -18,7 +18,7 @@ export function VNewTodo() {
const runSync = R.useRunSync()
const todoRef = R.useMemo(createEmptyTodo.pipe(Effect.flatMap(SubscriptionRef.make)))
const todoRef = R.useMemo(() => createEmptyTodo.pipe(Effect.flatMap(SubscriptionRef.make)))
const [todo, setTodo] = R.useRefState(todoRef)