Skip to content

Commit

Permalink
fix: remove empty string for option
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoyu committed Sep 23, 2024
1 parent a1ebb67 commit 4be28ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions lib/routes/pornhub/pornstar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const route: Route = {
default: 'www',
},
sort: {
description: 'sorting method',
description: 'sorting method, leave empty for `Best`',
default: 'mr',
options: [
{
Expand All @@ -52,10 +52,6 @@ export const route: Route = {
label: 'Longest',
value: 'lg',
},
{
label: 'Best',
value: '',
},
],
},
},
Expand Down
3 changes: 1 addition & 2 deletions lib/routes/reuters/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ export const route: Route = {
default: 'world',
},
topic: {
description: 'find it in the URL, or tables below',
description: 'find it in the URL, or tables below, leave empty for `All`',
options: [
{ value: '', label: 'All' },
// World topics
{ value: 'africa', label: 'Africa' },
{ value: 'americas', label: 'Americas' },
Expand Down

0 comments on commit 4be28ac

Please sign in to comment.