resolve further merging conflicts

This commit is contained in:
Maren Süwer
2018-09-20 10:06:38 +02:00
parent 05fb961101
commit 33fc15b99c
10 changed files with 103 additions and 511 deletions

View File

@@ -0,0 +1,40 @@
//@flow
import React from "react";
import { connect } from "react-redux";
import { withRouter } from "react-router-dom";
type Props = {
id: string
};
class ChangesetView extends React.Component<State, Props> {
constructor(props) {
super(props);
this.state = {};
}
componentDidMount() {
const id = this.props.match.params.id;
}
render() {
const id = this.props.match.params.id;
return <div>Hallo! Changesets here! {id}</div>;
}
}
const mapStateToProps = (state, ownProps: Props) => {
return null;
};
const mapDispatchToProps = dispatch => {
return null;
};
export default withRouter(
connect(
mapStateToProps,
mapDispatchToProps
)(ChangesetView)
);