mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Redux store is not a singleton anymore (-> bug fixes)
This commit is contained in:
@@ -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));
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user