combine containers

This commit is contained in:
Ken
2019-02-13 13:24:57 -08:00
parent 392ebe4a5c
commit 09848e5fe6
12 changed files with 131 additions and 119 deletions

View File

@@ -36,7 +36,7 @@ export const reducer = combineReducers<Store>({
}
}
),
filter: createReducer<Store['filter'], 'filter'>('all', (draft, action) => {
filter: createReducer<Store['filter'], 'setFilter'>('all', (draft, action) => {
return action.filter as FilterTypes;
})
});