Elliminate lint errors and warnings

pull/21833/head
Peter Vágner 2017-12-08 07:47:08 +01:00
parent 839f938c91
commit 321b1adb99
4 changed files with 5 additions and 4 deletions

View File

@ -46,7 +46,7 @@ export default React.createClass({
// Id of content element // Id of content element
// If provided, this is used to add a aria-describedby attribute // If provided, this is used to add a aria-describedby attribute
contentId: React.PropTypes.string contentId: React.PropTypes.string,
}, },
componentDidMount: function() { componentDidMount: function() {

View File

@ -54,7 +54,8 @@ export default React.createClass({
{ _t( { _t(
"Otherwise, <a>click here</a> to send a bug report.", "Otherwise, <a>click here</a> to send a bug report.",
{}, {},
{ 'a': (sub) => <a ref="bugreportLink" onClick={this._sendBugReport} key="bugreport" href='#'>{ sub }</a> }, { 'a': (sub) => <a ref="bugreportLink" onClick={this._sendBugReport}
key="bugreport" href='#'>{ sub }</a> },
) } ) }
</p> </p>
); );