Skip to content

Commit 7d83448

Browse files
authored
Fix typo
1 parent 6da5af8 commit 7d83448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ class ReactTooltip extends Component {
257257
// If it is focus event or called by ReactTooltip.show, switch to `solid` effect
258258
const switchToSolid = e instanceof window.FocusEvent || isGlobalCall
259259

260-
// if it need to skip adding hide listener to scroll
260+
// if it needs to skip adding hide listener to scroll
261261
let scrollHide = true
262262
if (e.currentTarget.getAttribute('data-scroll-hide')) {
263263
scrollHide = e.currentTarget.getAttribute('data-scroll-hide') === 'true'

0 commit comments

Comments
 (0)