Skip to content

Commit ed0258a

Browse files
Update defaults
1 parent 70ce3ad commit ed0258a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/TooltipTrigger.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ export default class TooltipTrigger extends PureComponent {
8686
};
8787

8888
state = {
89-
tooltipShown: this._isControlled()
90-
? false
91-
: this.props.defaultTooltipShown || false
89+
tooltipShown: this._isControlled() ? false : this.props.defaultTooltipShown
9290
};
9391

9492
_isControlled() {

0 commit comments

Comments
 (0)