s/React/ReactDOM
This commit is contained in:
parent
5fea3c2673
commit
368c24e146
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ module.exports = {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
var closeDialog = function() {
|
var closeDialog = function() {
|
||||||
React.unmountComponentAtNode(self.getOrCreateContainer());
|
ReactDOM.unmountComponentAtNode(self.getOrCreateContainer());
|
||||||
|
|
||||||
if (props && props.onFinished) props.onFinished.apply(null, arguments);
|
if (props && props.onFinished) props.onFinished.apply(null, arguments);
|
||||||
};
|
};
|
||||||
|
@ -62,7 +62,7 @@ module.exports = {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
var closeDialog = function() {
|
var closeDialog = function() {
|
||||||
React.unmountComponentAtNode(self.getOrCreateContainer());
|
ReactDOM.unmountComponentAtNode(self.getOrCreateContainer());
|
||||||
|
|
||||||
if (props && props.onFinished) props.onFinished.apply(null, arguments);
|
if (props && props.onFinished) props.onFinished.apply(null, arguments);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue