name class to match file

This commit is contained in:
Matthew Hodgson 2017-03-12 23:48:57 +00:00
parent 185473b898
commit 3a849bce60

View file

@ -24,7 +24,7 @@ import Unread from '../../../Unread';
import classNames from 'classnames'; import classNames from 'classnames';
import createRoom from '../../../createRoom'; import createRoom from '../../../createRoom';
export default class CreateOrReuseChatDialog extends React.Component { export default class ChatCreateOrReuseChatDialog extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
@ -91,7 +91,7 @@ export default class CreateOrReuseChatDialog extends React.Component {
const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog'); const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog');
return ( return (
<BaseDialog className='mx_CreateOrReuseChatDialog' <BaseDialog className='mx_ChatCreateOrReuseChatDialog'
onFinished={() => { onFinished={() => {
this.props.onFinished(false) this.props.onFinished(false)
}} }}
@ -105,7 +105,7 @@ export default class CreateOrReuseChatDialog extends React.Component {
} }
} }
CreateOrReuseChatDialog.propTyps = { ChatCreateOrReuseChatDialog.propTyps = {
userId: React.PropTypes.string.isRequired, userId: React.PropTypes.string.isRequired,
onFinished: React.PropTypes.func.isRequired, onFinished: React.PropTypes.func.isRequired,
}; };