mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
resolve further merging conflicts
This commit is contained in:
40
scm-ui/src/repos/containers/ChangesetView.js
Normal file
40
scm-ui/src/repos/containers/ChangesetView.js
Normal 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)
|
||||
);
|
||||
Reference in New Issue
Block a user