From 1a34c6a16f000d363b3ff3a3c51c3605e993a80d Mon Sep 17 00:00:00 2001 From: antoniogiordano Date: Mon, 20 Mar 2017 17:25:31 +0100 Subject: [PATCH] Removed useless hasTarget option --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index aa141c414..97830437b 100644 --- a/src/index.js +++ b/src/index.js @@ -338,9 +338,9 @@ class ReactTooltip extends Component { } } - checkSameTarget (e, hasTarget) { + checkSameTarget (e) { if (this.state.currentTarget === e.currentTarget) { - this.hideTooltip(e, hasTarget) + this.hideTooltip(e) } }