You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
s/React/ReactDOM
This commit is contained in:
@ -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);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user