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.
*
* @private
* @returns {void}
*/
_onShowPopover() {
this.setState({ popoverVisible: true });
}
_onShowPopover() {
this.setState({ popoverVisible: true });
}
/**
/**
* Creates a ReactElement for displaying the indicator (GSM bar).
*
* @returns {ReactElement}
*/
_renderIndicator() {
const colorClass = this._getConnectionColorClass();
const indicatorContainerClassNames
_renderIndicator() {
const colorClass = this._getConnectionColorClass();
const indicatorContainerClassNames
= `connection-indicator indicator ${colorClass}`;
return (
<div className = 'popover-trigger'>
<div
className = { indicatorContainerClassNames }
style = {{ fontSize: this.props.iconSize }}>
<div className = 'connection indicatoricon'>
{ this._renderIcon() }
</div>
</div>
</div>
);
}
return (
<div className = 'popover-trigger'>
<div
className = { indicatorContainerClassNames }
style = {{ fontSize: this.props.iconSize }}>
<div className = 'connection indicatoricon'>
{ this._renderIcon() }
</div>
</div>
</div>
);
}
}
/**