We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 041f464 commit cb629ceCopy full SHA for cb629ce
doc/async.md
@@ -76,7 +76,7 @@ AppState todosReducer(AppState state, action) {
76
);
77
} else if (action is FetchTodosSucceededAction) {
78
return new AppState(
79
- // Set our actions to the fetched Todos
+ // Set our todos to the fetched Todos
80
todos: action.fetchedTodos,
81
// Toggle isFetching to false so our UI will render the todos
82
// instead of a loading spinner.
@@ -87,7 +87,7 @@ AppState todosReducer(AppState state, action) {
87
88
} else if (action is FetchTodosFailedAction) {
89
90
- // Set our actions to an empty value
+ // Set our todos to an empty value
91
todos: const [],
92
// Toggle isFetching to false
93
isFetching: false,
0 commit comments