blob: b35916e5c64ffc539f98b0557ea26f224ff75174 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
import PropTypes from "prop-types";
import React from "react";
import {connect} from "react-redux";
import AppNavbar from "../components/navigation/AppNavbar";
class ExperimentsContainer extends React.Component {
static propTypes = {
simulationId: PropTypes.number.isRequired,
};
componentDidMount() {
// TODO fetch experiments
}
render() {
return (
<div className="full-height">
<AppNavbar simulationId={this.props.simulationId} inSimulation={true}/>
<div className="container text-page-container full-height">
Test
</div>
</div>
);
}
}
const mapDispatchToProps = dispatch => {
return {};
};
const Experiments = connect(
undefined,
mapDispatchToProps
)(ExperimentsContainer);
export default Experiments;
|