WithMatrixClient -> withMatrixClient

because we're using it as a function rather than a React component
This commit is contained in:
David Baker 2017-07-07 11:34:20 +01:00
parent fea0a941ce
commit bc8c2d442b
5 changed files with 10 additions and 9 deletions

View file

@ -19,10 +19,10 @@ import { _t } from '../../../languageHandler';
import sdk from '../../../index';
import AddThreepid from '../../../AddThreepid';
import WithMatrixClient from '../../../wrappers/WithMatrixClient';
import withMatrixClient from '../../../wrappers/withMatrixClient';
import Modal from '../../../Modal';
export default WithMatrixClient(React.createClass({
export default withMatrixClient(React.createClass({
displayName: 'AddPhoneNumber',
propTypes: {