mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
combine containers
This commit is contained in:
@@ -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;
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user