mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-26 04:19:49 +03:00
code clean up
This commit is contained in:
parent
aa45067c69
commit
e1f3c0f200
@ -419,11 +419,15 @@ export default class DataView extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_handleCheckBoxMouseEnter = (i) => {
|
_handleCheckBoxMouseEnter = (i) => {
|
||||||
this.props.isOwner && this.setState({ hover: i });
|
if (this.props.isOwner) {
|
||||||
|
this.setState({ hover: i });
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
_handleCheckBoxMouseLeave = (i) => {
|
_handleCheckBoxMouseLeave = (i) => {
|
||||||
this.props.isOwner && this.setState({ hover: null });
|
if (this.props.isOwner) {
|
||||||
|
this.setState({ hover: null });
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
_handleCopy = (e, value) => {
|
_handleCopy = (e, value) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user