Todo fix
Some checks failed
Lint / lint (push) Failing after 10s

This commit is contained in:
Julien Valverdé
2025-01-15 22:05:21 +01:00
parent 53ed31be8d
commit 14e028e8c8

View File

@@ -11,7 +11,7 @@ export function VTodos() {
// Sync changes to the todos with the local storage
Reffuse.useFork(TodosState.TodosState.pipe(
Effect.flatMap(state =>
Stream.runForEach(state.todos, () => state.saveToLocalStorage)
Stream.runForEach(state.todos.changes, () => state.saveToLocalStorage)
)
))