fix a ton of typescript errors

This commit is contained in:
Eduard Heimbuch
2020-01-08 13:40:07 +01:00
parent 15a9a5b09b
commit a43ffacf03
41 changed files with 229 additions and 311 deletions

View File

@@ -78,14 +78,10 @@ class Profile extends React.Component<Props, State> {
}
}
const mapStateToProps = state => {
const mapStateToProps = (state: any) => {
return {
me: getMe(state)
};
};
export default compose(
withTranslation("commons"),
connect(mapStateToProps),
withRouter
)(Profile);
export default compose(withTranslation("commons"), connect(mapStateToProps), withRouter)(Profile);