Rename getter to be more semantic

pull/10616/head
Alex P 2018-04-10 20:04:44 -07:00
parent b505935865
commit a35b9695e3
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class ConfirmButton extends PureComponent<Props, State> {
>
{icon && <span className={`icon ${icon}`} />}
{text && text}
<div className={`confirm-button--tooltip ${this.calculatePosition}`}>
<div className={`confirm-button--tooltip ${this.calculatedPosition}`}>
<div
className="confirm-button--confirmation"
onClick={this.handleConfirmClick}
@ -90,7 +90,7 @@ class ConfirmButton extends PureComponent<Props, State> {
this.setState({expanded: false})
}
private get calculatePosition() {
private get calculatedPosition() {
if (!this.buttonDiv || !this.tooltipDiv) {
return ''
}