diff --git a/components/core/DataView.js b/components/core/DataView.js index cfc4d78f..22be2912 100644 --- a/components/core/DataView.js +++ b/components/core/DataView.js @@ -419,11 +419,15 @@ export default class DataView extends React.Component { }; _handleCheckBoxMouseEnter = (i) => { - this.props.isOwner && this.setState({ hover: i }); + if (this.props.isOwner) { + this.setState({ hover: i }); + } }; _handleCheckBoxMouseLeave = (i) => { - this.props.isOwner && this.setState({ hover: null }); + if (this.props.isOwner) { + this.setState({ hover: null }); + } }; _handleCopy = (e, value) => {