Skip to content

Commit

Permalink
improved withHint enhancer
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 committed Apr 18, 2018
1 parent 17412f6 commit dde1fc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const tooltip = require('../../../misc/enhancers/tooltip');
const withPopover = require('./withPopover');
module.exports = compose(
branch(
(({renderPopover} = {}) => renderPopover),
(({renderPopover, popoverOptions} = {}) => renderPopover && !!popoverOptions),
withPopover,
tooltip
)
Expand Down

0 comments on commit dde1fc4

Please sign in to comment.