Skip to content

Commit

Permalink
fix: Unmount dev tools before cleaning up mount point
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkr00t committed Jun 5, 2017
1 parent 2ce4e05 commit 589da47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Expand Up @@ -19,6 +19,7 @@ function createPlace() {
place.className = DEVTOOLS_CLASS_NAME;
document.body.appendChild(place);
} else {
ReactDOM.unmountComponentAtNode(place);
place.innerHTML = "";
}

Expand Down

0 comments on commit 589da47

Please sign in to comment.