s/React/ReactDOM

This commit is contained in:
Matthew Hodgson 2015-11-10 19:53:29 +00:00
parent 5fea3c2673
commit 368c24e146

View File

@ -39,7 +39,7 @@ module.exports = {
var self = this;
var closeDialog = function() {
React.unmountComponentAtNode(self.getOrCreateContainer());
ReactDOM.unmountComponentAtNode(self.getOrCreateContainer());
if (props && props.onFinished) props.onFinished.apply(null, arguments);
};
@ -62,7 +62,7 @@ module.exports = {
var self = this;
var closeDialog = function() {
React.unmountComponentAtNode(self.getOrCreateContainer());
ReactDOM.unmountComponentAtNode(self.getOrCreateContainer());
if (props && props.onFinished) props.onFinished.apply(null, arguments);
};