mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Improve type checks
This commit is contained in:
@@ -37,10 +37,7 @@ const initialState: PostsState = {
|
||||
haveMore: true,
|
||||
areLoading: false,
|
||||
error: '',
|
||||
filters: { // improve
|
||||
searchQuery: '',
|
||||
postStatusId: null,
|
||||
},
|
||||
filters: filtersReducer(undefined, {} as ChangeFiltersActionTypes),
|
||||
};
|
||||
|
||||
const postsReducer = (
|
||||
|
||||
Reference in New Issue
Block a user