Skip to content

Commit

Permalink
Removed deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
okonet committed Nov 11, 2015
1 parent ca804e6 commit 53b2f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function demo() {
var onMoveDebounced = _.debounce(onMove, 80);

var unMountTest = function(){
if(React.unmountComponentAtNode(document.getElementById('Demo'))){
if(ReactDOM.unmountComponentAtNode(document.getElementById('Demo'))){
ReactDOM.render(<button onClick={unMountTest}>Remount</button>, document.getElementById('UnmountButton'));
}else{
render();
Expand Down

0 comments on commit 53b2f7f

Please sign in to comment.