Skip to content

Commit 1a34c6a

Browse files
Removed useless hasTarget option
1 parent 990908b commit 1a34c6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ class ReactTooltip extends Component {
338338
}
339339
}
340340

341-
checkSameTarget (e, hasTarget) {
341+
checkSameTarget (e) {
342342
if (this.state.currentTarget === e.currentTarget) {
343-
this.hideTooltip(e, hasTarget)
343+
this.hideTooltip(e)
344344
}
345345
}
346346

0 commit comments

Comments
 (0)