Skip to content
Snippets Groups Projects
Commit 3489889b authored by Chris Lawton's avatar Chris Lawton
Browse files

swap div for fragment

parent a1eedc2e
No related branches found
No related tags found
No related merge requests found
......@@ -25,11 +25,11 @@ class App extends React.Component {
render() {
return (
<div>
<>
<Switcher selector='react-switcher' open={this.state.detailOpen} handleOpen={this.detailOpen} handleClose={this.detailClose} />
<div style={this.state.style} ref={this.setOriginalContentRef} dangerouslySetInnerHTML={{ __html: this.props.pageContent }} />
{this.state.detailOpen && <div><h2>THIS IS REACT</h2></div>}
</div>
</>
)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment