diff --git a/server/ui/src/components/navbar.tsx b/server/ui/src/components/navbar.tsx index 9f200b0..08cad6d 100644 --- a/server/ui/src/components/navbar.tsx +++ b/server/ui/src/components/navbar.tsx @@ -75,7 +75,6 @@ export class Navbar extends Component { } searchChange(i: Navbar, event) { - console.log("in searchChange"); let searchParams: SearchParams = { q: event.target.value, page: 1, diff --git a/server/ui/src/components/search.tsx b/server/ui/src/components/search.tsx index 39c7864..fa18350 100644 --- a/server/ui/src/components/search.tsx +++ b/server/ui/src/components/search.tsx @@ -31,7 +31,6 @@ export class Search extends Component { } componentDidMount() { - console.log("comp did mount"); this.state.searchParams = { page: Number(this.props.match.params.page), q: this.props.match.params.q, @@ -44,7 +43,6 @@ export class Search extends Component { // Re-do search if the props have changed componentDidUpdate(lastProps: any) { - console.log("comp did update"); if (lastProps.match && lastProps.match.params !== this.props.match.params) { this.state.searchParams = { page: Number(this.props.match.params.page), @@ -161,21 +159,11 @@ export class Search extends Component { - - - - - + + + + +
- {this.sortLink("Name")} - - {this.sortLink("Size")} - - {this.sortLink("Seeders")} - - {this.sortLink("Leechers")} - - {this.sortLink("Scraped")} - {this.sortLink("Name")}{this.sortLink("Size")}{this.sortLink("Seeders")}{this.sortLink("Leechers")}{this.sortLink("Scraped")}