diff --git a/public/MediumPost.html b/public/MediumPost.html index 6333b63..3ebea45 100644 --- a/public/MediumPost.html +++ b/public/MediumPost.html @@ -7,7 +7,7 @@ -
+
@@ -15,7 +15,7 @@ - + \ No newline at end of file diff --git a/public/MediumPost/index.js b/public/react/MediumPost/index.js similarity index 87% rename from public/MediumPost/index.js rename to public/react/MediumPost/index.js index 44c3801..b43241e 100644 --- a/public/MediumPost/index.js +++ b/public/react/MediumPost/index.js @@ -53,4 +53,5 @@ var MediumPost = function MediumPost() { ); }; -var domContainer = document.querySelector('#medium_blog_container');ReactDOM.render(React.createElement(MediumPost, null), domContainer); \ No newline at end of file +var domContainer = document.getElementById('react-container'); +ReactDOM.render(React.createElement(MediumPost, null), domContainer); \ No newline at end of file diff --git a/src/MediumPost/index.js b/src/MediumPost/index.js index ca10c64..c366017 100644 --- a/src/MediumPost/index.js +++ b/src/MediumPost/index.js @@ -37,4 +37,5 @@ const MediumPost = () => { ); } - const domContainer = document.querySelector('#medium_blog_container');ReactDOM.render(, domContainer); \ No newline at end of file + const domContainer = document.getElementById('react-container'); + ReactDOM.render(, domContainer); \ No newline at end of file