1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00
This commit is contained in:
2016-09-27 23:34:30 +00:00
parent 0575487ac4
commit 90b4570d01
8 changed files with 62 additions and 89 deletions

View File

@@ -19,13 +19,13 @@ export default class Index extends React.Component {
render() {
return (
<div>
<Header/>
<div class="Main">
{React.cloneElement(this.props.children, this.props)}
<Sidebar sensor={Object.assign({}, this.props.sensor)}/>
</div>
<Footer/>
<Header/>
<div class="Main">
{React.cloneElement(this.props.children, this.props)}
<Sidebar sensor={Object.assign({}, this.props.sensor)}/>
</div>
<Footer/>
</div>
);
}
}