Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Render into hub-content element in Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Dec 21, 2017
1 parent c19ac42 commit 2ea942a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
</style>
</head>
<body>
<section id="hub-content">
<div id="hub-reference"></div>
</section>
<section id="hub-content"></section>
<script src="index.jsx"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion example/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ const ReactDOM = require('react-dom');

const Demo = require('./src/Demo');

ReactDOM.render(<Demo />, document.getElementById('hub-reference'));
ReactDOM.render(<Demo />, document.getElementById('hub-content'));
4 changes: 1 addition & 3 deletions example/index.prod.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
</style>
</head>
<body>
<section id="hub-content">
<div id="hub-reference"></div>
</section>
<section id="hub-content"></section>
<script src="bundle.js"></script>
</body>
</html>

0 comments on commit 2ea942a

Please sign in to comment.