Redux store is not a singleton anymore (-> bug fixes)

This commit is contained in:
riggraz
2019-09-14 12:42:30 +02:00
parent 7f49b14c06
commit dcdb99401f
7 changed files with 98 additions and 43 deletions

View File

@@ -17,7 +17,7 @@ const mapStateToProps = (state: State) => ({
});
const mapDispatchToProps = (dispatch) => ({
requestPosts(boardId: number, page: number = 1, searchQuery: string = '', postStatusId: number) {
requestPosts(boardId: number, page: number = 1, searchQuery: string = '', postStatusId: number = null) {
dispatch(requestPosts(boardId, page, searchQuery, postStatusId));
},