mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 02:10:24 +00:00
optimized code style
This commit is contained in:
@@ -7,12 +7,14 @@ import { Button, Input } from 'reactstrap';
|
||||
import { seafileAPI } from '../../utils/seafile-api.js';
|
||||
|
||||
class UserItem extends React.Component {
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
isOperationShow: false
|
||||
};
|
||||
}
|
||||
|
||||
onMouseEnter = () => {
|
||||
this.setState({isOperationShow: true});
|
||||
}
|
||||
|
Reference in New Issue
Block a user