Address review comments and fix lint errors

This commit is contained in:
Peter Vágner 2018-10-02 20:32:54 +02:00
parent e05ae29146
commit 2b394c1869
No known key found for this signature in database
GPG key ID: 72D60A4B389C75AE
3 changed files with 9 additions and 10 deletions

View file

@ -1,6 +1,5 @@
import React from 'react'; // eslint-disable-line no-unused-vars
import PropTypes from 'prop-types';
import { _t } from '../../../languageHandler';
const AppWarning = (props) => {
return (

View file

@ -95,7 +95,7 @@ export default class CookieBar extends React.Component {
{ _t("Yes, I want to help!") }
</AccessibleButton>
<AccessibleButton className="mx_MatrixToolbar_close" onClick={this.onReject}>
<img src="img/cancel.svg" width="18" height="18" alt={_t('Close')}/>
<img src="img/cancel.svg" width="18" height="18" alt={_t('Close')} />
</AccessibleButton>
</div>
);