You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
REmove unused onCancelClick
This commit is contained in:
@@ -64,11 +64,6 @@ export default class ManageIntegsButton extends React.Component {
|
|||||||
src: (this.scalarClient !== null && this.scalarClient.hasCredentials()) ?
|
src: (this.scalarClient !== null && this.scalarClient.hasCredentials()) ?
|
||||||
this.scalarClient.getScalarInterfaceUrlForRoom(this.props.roomId) :
|
this.scalarClient.getScalarInterfaceUrlForRoom(this.props.roomId) :
|
||||||
null,
|
null,
|
||||||
onFinished: ()=>{
|
|
||||||
if (this.props.onCancelClick) {
|
|
||||||
this.props.onCancelClick(ev);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}, "mx_IntegrationsManager");
|
}, "mx_IntegrationsManager");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -119,9 +114,7 @@ export default class ManageIntegsButton extends React.Component {
|
|||||||
|
|
||||||
ManageIntegsButton.propTypes = {
|
ManageIntegsButton.propTypes = {
|
||||||
roomId: PropTypes.string.isRequired,
|
roomId: PropTypes.string.isRequired,
|
||||||
onCancelClick: PropTypes.func,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ManageIntegsButton.defaultProps = {
|
ManageIntegsButton.defaultProps = {
|
||||||
onCancelClick: function() {},
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user