diff --git a/docs/examples/PopoverExample.jsx b/docs/examples/PopoverExample.jsx index 4c1d03dff..74815e67e 100644 --- a/docs/examples/PopoverExample.jsx +++ b/docs/examples/PopoverExample.jsx @@ -24,7 +24,7 @@ class PopoverExample extends React.PureComponent { handlePlacements = (state, placement) => this.setState({ placement }); handleThemes = (state, theme) => this.setState({ theme }); - handleTriggers = (state, trigger) => this.setState({ trigger: state ? trigger : 'hover' }); + handleTriggers = (state, trigger) => this.setState({ trigger }); togglePopover = () => this.setState(prevState => ({ isOpen: !prevState.isOpen, @@ -112,7 +112,7 @@ class PopoverExample extends React.PureComponent {