File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -880,27 +880,13 @@ import * as actions from './actions';
880880import { ADD , CHANGE_FILTER , TOGGLE } from ' ./constants' ;
881881
882882export type TodosState = {
883- readonly isFetching: boolean ;
884- readonly errorMessage : string | null ;
885883 readonly todos: Todo [];
886884 readonly todosFilter : TodosFilter ;
887885};
888886
889887export type TodosAction = ActionType < typeof actions > ;
890888
891889export 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 :
You can’t perform that action at this time.
0 commit comments