Merge pull request #1973 from matrix-org/t3chguy/fix_react_proptypes_warnings

fix a bunch of instances of react console spam
This commit is contained in:
David Baker 2018-06-18 10:47:20 +01:00 committed by GitHub
commit a918d73c29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 13 deletions

View file

@ -170,7 +170,7 @@ export default class ChatCreateOrReuseDialog extends React.Component {
{ profile }
</div>
<DialogButtons primaryButton={_t('Start Chatting')}
onPrimaryButtonClick={this.props.onNewDMClick} focus="true" />
onPrimaryButtonClick={this.props.onNewDMClick} focus={true} />
</div>;
}