Skip to content

Commit a54ccd9

Browse files
committed
regenerated readme
1 parent b654e2b commit a54ccd9

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -880,27 +880,13 @@ import * as actions from './actions';
880880
import { ADD, CHANGE_FILTER, TOGGLE } from './constants';
881881

882882
export type TodosState = {
883-
readonly isFetching: boolean;
884-
readonly errorMessage: string | null;
885883
readonly todos: Todo[];
886884
readonly todosFilter: TodosFilter;
887885
};
888886

889887
export type TodosAction = ActionType<typeof actions>;
890888

891889
export default combineReducers<TodosState, TodosAction>({
892-
isFetching: (state = false, action) => {
893-
switch (action.type) {
894-
default:
895-
return state;
896-
}
897-
},
898-
errorMessage: (state = null, action) => {
899-
switch (action.type) {
900-
default:
901-
return state;
902-
}
903-
},
904890
todos: (state = [], action) => {
905891
switch (action.type) {
906892
case ADD:

0 commit comments

Comments
 (0)