chore(lint) tame the linter

This commit is contained in:
Saúl Ibarra Corretgé 2021-11-09 10:11:21 +01:00 committed by Saúl Ibarra Corretgé
parent ba7b5fc996
commit e77216f18e
1 changed files with 21 additions and 21 deletions

View File

@ -313,41 +313,41 @@ class ConnectionIndicator extends AbstractConnectionIndicator<Props, State> {
]; ];
} }
_onShowPopover: () => void; _onShowPopover: () => void;
/** /**
* Shows popover. * Shows popover.
* *
* @private * @private
* @returns {void} * @returns {void}
*/ */
_onShowPopover() { _onShowPopover() {
this.setState({ popoverVisible: true }); this.setState({ popoverVisible: true });
} }
/** /**
* Creates a ReactElement for displaying the indicator (GSM bar). * Creates a ReactElement for displaying the indicator (GSM bar).
* *
* @returns {ReactElement} * @returns {ReactElement}
*/ */
_renderIndicator() { _renderIndicator() {
const colorClass = this._getConnectionColorClass(); const colorClass = this._getConnectionColorClass();
const indicatorContainerClassNames const indicatorContainerClassNames
= `connection-indicator indicator ${colorClass}`; = `connection-indicator indicator ${colorClass}`;
return ( return (
<div className = 'popover-trigger'> <div className = 'popover-trigger'>
<div <div
className = { indicatorContainerClassNames } className = { indicatorContainerClassNames }
style = {{ fontSize: this.props.iconSize }}> style = {{ fontSize: this.props.iconSize }}>
<div className = 'connection indicatoricon'> <div className = 'connection indicatoricon'>
{ this._renderIcon() } { this._renderIcon() }
</div> </div>
</div> </div>
</div> </div>
); );
} }
} }
/** /**