mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
refactor: removes unused getFilteredPackage method (#1124)
This commit is contained in:
parent
3dd7dcd53c
commit
903bd0b091
1 changed files with 0 additions and 11 deletions
|
@ -243,17 +243,6 @@ export default class App extends Component {
|
|||
});
|
||||
};
|
||||
|
||||
getfilteredPackages = value => {
|
||||
const inputValue = value.trim().toLowerCase();
|
||||
const inputLength = inputValue.length;
|
||||
|
||||
if (inputLength === 0) {
|
||||
return [];
|
||||
} else {
|
||||
return this.searchPackage(value);
|
||||
}
|
||||
}
|
||||
|
||||
renderHeader = () => {
|
||||
const { logoUrl, user, search, searchPackages } = this.state;
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue