Skip to content

Commit

Permalink
Remove unnecessary generic narrowing
Browse files Browse the repository at this point in the history
  • Loading branch information
gausie committed Sep 22, 2023
1 parent 8cc7f63 commit 9f489e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/greenbox-web/src/components/Familiars.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function Familiars() {
]}
max={familiars.length}
>
<SortOrderSelect<typeof sortBy>
<SortOrderSelect
onChange={setSortBy}
value={sortBy}
alphabeticalKey="name"
Expand Down
2 changes: 1 addition & 1 deletion packages/greenbox-web/src/components/Paths.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function Paths() {
]}
max={max}
>
<SortOrderSelect<typeof sortBy>
<SortOrderSelect
onChange={setSortBy}
value={sortBy}
alphabeticalKey="name"
Expand Down
2 changes: 1 addition & 1 deletion packages/greenbox-web/src/components/Tattoos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function Tattoos() {
]}
max={outfitTattoos.length}
>
<SortOrderSelect<typeof sortBy>
<SortOrderSelect
onChange={setSortBy}
value={sortBy}
alphabeticalKey="name"
Expand Down
2 changes: 1 addition & 1 deletion packages/greenbox-web/src/components/Trophies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Tattoos() {
]}
max={trophies.length}
>
<SortOrderSelect<typeof sortBy>
<SortOrderSelect
onChange={setSortBy}
value={sortBy}
alphabeticalKey="name"
Expand Down

0 comments on commit 9f489e5

Please sign in to comment.