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

This commit is contained in:
Julien Valverdé
2025-02-25 23:19:44 +01:00
parent ea768218a0
commit 5f60d03d83

View File

@@ -37,7 +37,7 @@ export function VNewTodo() {
<Button
onClick={() => TodosState.TodosState.pipe(
Effect.flatMap(state => state.prepend(todo)),
Effect.flatMap(() => createEmptyTodo),
Effect.andThen(createEmptyTodo),
Effect.map(setTodo),
runSync,
)}