Appease the linter

pull/21833/head
Travis Ralston 2021-04-14 22:04:07 -06:00
parent 22233a8745
commit 1aeb9a5fb2
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ export default class Tooltip extends React.Component<IProps> {
const right = window.innerWidth - parentBox.right - window.pageXOffset - 16;
const left = parentBox.right + window.pageXOffset + 6;
const horizontalCenter = parentBox.right - window.pageXOffset - (parentBox.width / 2);
switch(this.props.alignment) {
switch (this.props.alignment) {
case Alignment.Natural:
if (parentBox.right > window.innerWidth / 2) {
style.right = right;