fix App dispatch typings
This commit is contained in:
parent
fe8da56fec
commit
ca889ce874
|
@ -77,10 +77,11 @@ function mapStateToProps(state) {
|
||||||
|
|
||||||
function mapDispatchToProps(dispatch) {
|
function mapDispatchToProps(dispatch) {
|
||||||
return {
|
return {
|
||||||
changeNode: (i: number) => {
|
// FIXME replace with actual types
|
||||||
|
changeNode: (i: any) => {
|
||||||
dispatch(CHANGE_NODE(i));
|
dispatch(CHANGE_NODE(i));
|
||||||
},
|
},
|
||||||
changeLanguage: (i: number) => {
|
changeLanguage: (i: any) => {
|
||||||
dispatch(CHANGE_LANGUAGE(i));
|
dispatch(CHANGE_LANGUAGE(i));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue