mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -9,7 +9,7 @@ const propTypes = {
|
||||
};
|
||||
|
||||
class SearchedListItem extends React.Component {
|
||||
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
@@ -32,7 +32,7 @@ class SearchedListItem extends React.Component {
|
||||
|
||||
searchItemDoubleClick = (e) => {
|
||||
let item = this.props.item;
|
||||
|
||||
|
||||
this.props.onSearchedItemDoubleClick(item);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user