[clean up][xs]: Sort component doesn't need any props.

This commit is contained in:
anuveyatsu 2020-06-12 19:05:55 +06:00
parent c8806b8441
commit c21731b830
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
export default function Sort({ selected }) {
export default function Sort() {
return (
<div className="inline-block my-6 float-right">
<label htmlFor="field-order-by">Order by:</label>

View File

@ -20,7 +20,7 @@ function Search({ ckanResult, datapackages, query }) {
<main className="p-6">
<Input query={query} />
<Total total={ckanResult.count} />
<Sort sort={query.sort} />
<Sort />
<List datapackages={datapackages} />
</main>
</>