Skip to content

Commit f136f45

Browse files
authored
Update index.ts
1 parent 52e6946 commit f136f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/bar/src/tooltip/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ export default (container: HTMLElement, labeling: Labeling, orientation: string)
1818
.attr('r', 3)
1919
.attr('fill', 'transparent');
2020

21-
const placement = _orientation => {
21+
const placement = pOrientation => {
2222
return {
2323
'vertical': 'top',
2424
'horizontal': 'right',
2525
'inverted-vertical': 'bottom',
2626
'inverted-horizontal': 'left',
27-
}[_orientation];
27+
}[pOrientation];
2828
};
2929

3030
const tip = Tooltip(tooltipAnchor.node(), {

0 commit comments

Comments
 (0)