Improve type checks

This commit is contained in:
riggraz
2019-09-26 16:03:41 +02:00
parent 322c8e51cf
commit 678d2eaacf
16 changed files with 67 additions and 26 deletions

View File

@@ -37,10 +37,7 @@ const initialState: PostsState = {
haveMore: true,
areLoading: false,
error: '',
filters: { // improve
searchQuery: '',
postStatusId: null,
},
filters: filtersReducer(undefined, {} as ChangeFiltersActionTypes),
};
const postsReducer = (