Use getComponent

pull/21833/head
David Baker 2018-02-07 10:13:19 +00:00
parent 424c367ecc
commit 0a5bf07913
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,6 @@ import PropTypes from 'prop-types';
import MatrixClientPeg from '../../../MatrixClientPeg';
import dis from '../../../dispatcher';
import { _t } from '../../../languageHandler';
import AccessibleButton from '../elements/AccessibleButton';
module.exports = React.createClass({
displayName: 'IncomingCallBox',
@ -63,6 +62,7 @@ module.exports = React.createClass({
}
}
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
return (
<div className="mx_IncomingCallBox" id="incomingCallBox">
<img className="mx_IncomingCallBox_chevron" src="img/chevron-left.png" width="9" height="16" />