create new codeSection // add actionBar to codeSection // change routes for sources and changesets

This commit is contained in:
Eduard Heimbuch
2020-01-07 10:30:46 +01:00
parent 5405a2b3c8
commit 20c00e7222
13 changed files with 251 additions and 126 deletions

View File

@@ -93,7 +93,7 @@ class Changesets extends React.Component<Props> {
};
}
const mapDispatchToProps = dispatch => {
const mapDispatchToProps = (dispatch: any) => {
return {
fetchChangesets: (repo: Repository, branch: Branch, page: number) => {
dispatch(fetchChangesets(repo, branch, page));
@@ -118,11 +118,4 @@ const mapStateToProps = (state: any, ownProps: Props) => {
};
};
export default compose(
withTranslation("repos"),
withRouter,
connect(
mapStateToProps,
mapDispatchToProps
)
)(Changesets);
export default compose(withTranslation("repos"), withRouter, connect(mapStateToProps, mapDispatchToProps))(Changesets);