Skip to content

Commit cb629ce

Browse files
authored
Fix #49 -- fix language in async docs
1 parent 041f464 commit cb629ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/async.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ AppState todosReducer(AppState state, action) {
7676
);
7777
} else if (action is FetchTodosSucceededAction) {
7878
return new AppState(
79-
// Set our actions to the fetched Todos
79+
// Set our todos to the fetched Todos
8080
todos: action.fetchedTodos,
8181
// Toggle isFetching to false so our UI will render the todos
8282
// instead of a loading spinner.
@@ -87,7 +87,7 @@ AppState todosReducer(AppState state, action) {
8787
);
8888
} else if (action is FetchTodosFailedAction) {
8989
return new AppState(
90-
// Set our actions to an empty value
90+
// Set our todos to an empty value
9191
todos: const [],
9292
// Toggle isFetching to false
9393
isFetching: false,

0 commit comments

Comments
 (0)