Skip to content

Commit

Permalink
manage: Migrated to new version of webpack-config-jaid
Browse files Browse the repository at this point in the history
Signed-off-by: Jaid <jaid.jsx@gmail.com>
  • Loading branch information
Jaid committed Mar 5, 2020
1 parent de6e2d3 commit 9a33f40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/index.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import HotApp from "components/HotApp"

import store from "src/redux/developmentStore"

const rootNode = document.createElement("div")
document.body.append(rootNode)
const rootNode = document.querySelector("body > div")

ReactDom.render(<Provider store={store}>
<HotApp/>
Expand Down
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ offlineRuntime.install({
},
})

const rootNode = document.createElement("div")
document.body.append(rootNode)
const rootNode = document.querySelector("body > div")

ReactDom.render(<Provider store={store}>
<App/>
Expand Down

0 comments on commit 9a33f40

Please sign in to comment.