mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
Repair eslint wraning (#2453)
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { repoID, siteRoot } from '../../utils/constants';
|
||||
import SearchResultItem from './search-result-item';
|
||||
import editorUtilities from '../../utils/editor-utilties';
|
||||
import More from '../more';
|
||||
|
||||
const propTypes = {
|
||||
placeholder: PropTypes.string,
|
||||
onSearchedClick: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
class Search extends Component {
|
||||
|
||||
constructor(props) {
|
||||
@@ -237,4 +243,6 @@ class Search extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
Search.propTypes = propTypes;
|
||||
|
||||
export default Search;
|
||||
|
Reference in New Issue
Block a user