File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -141,13 +141,13 @@ const Tooltip = ({
141
141
if ( ! event ) {
142
142
return
143
143
}
144
- const e = event as MouseEvent
145
- const p = {
146
- x : e . clientX ,
147
- y : e . clientY ,
144
+ const mouseEvent = event as MouseEvent
145
+ const mousePosition = {
146
+ x : mouseEvent . clientX ,
147
+ y : mouseEvent . clientY ,
148
148
}
149
- handleTooltipPosition ( p )
150
- setLastFloatPosition ( p )
149
+ handleTooltipPosition ( mousePosition )
150
+ setLastFloatPosition ( mousePosition )
151
151
}
152
152
153
153
const handleClickTooltipAnchor = ( ) => {
@@ -161,8 +161,8 @@ const Tooltip = ({
161
161
}
162
162
}
163
163
164
- const handleClickOutsideAnchor = ( e : MouseEvent ) => {
165
- if ( e . target === activeAnchor . current ) {
164
+ const handleClickOutsideAnchor = ( event : MouseEvent ) => {
165
+ if ( event . target === activeAnchor . current ) {
166
166
return
167
167
}
168
168
setShow ( false )
You can’t perform that action at this time.
0 commit comments