Remove redundant sort
This commit is contained in:
parent
52882a8b39
commit
cf23df94c9
@ -32,8 +32,6 @@ export default class Fuzzy {
|
|||||||
|
|
||||||
this.pages = obj.pages
|
this.pages = obj.pages
|
||||||
this.maxResults = obj.maxResults || this.pages.length;
|
this.maxResults = obj.maxResults || this.pages.length;
|
||||||
|
|
||||||
this.pages.sort((x, y) => { return ('' + x.title).localeCompare(y.title) });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
searchKeyUpListener(e: ReactKeyboardEvent) {
|
searchKeyUpListener(e: ReactKeyboardEvent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user