From 8cb4eac9d0c1d49179e903055ca0b95d12391e4e Mon Sep 17 00:00:00 2001 From: Rachel Ruderman Date: Fri, 3 Jul 2020 00:18:08 -0700 Subject: [PATCH] Clean up --- public/MediumPost.html | 4 ++-- public/{ => react}/MediumPost/index.js | 3 ++- src/MediumPost/index.js | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) rename public/{ => react}/MediumPost/index.js (87%) 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