diff --git a/packages/example/src/todos/views/VTodos.tsx b/packages/example/src/todos/views/VTodos.tsx index 401d431..d0c848c 100644 --- a/packages/example/src/todos/views/VTodos.tsx +++ b/packages/example/src/todos/views/VTodos.tsx @@ -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) ) ))