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:
@@ -16,7 +16,7 @@ const mapStateToProps = (state: State) => ({
|
||||
postStatuses: state.postStatuses,
|
||||
});
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
const mapDispatchToProps = (dispatch: any) => ({
|
||||
requestPosts(boardId: number, page: number = 1, searchQuery: string = '', postStatusId: number = null) {
|
||||
dispatch(requestPosts(boardId, page, searchQuery, postStatusId));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user