Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update input-select.tsx

Steven Teyce9ef86a9df7
diff --git a/packages/ui/src/input-select.tsx b/packages/ui/src/input-select.tsx
index fe3675519a..cca4d5670b 100644
--- a/packages/ui/src/input-select.tsx
+++ b/packages/ui/src/input-select.tsx
@@ -107,7 +107,7 @@ export function InputSelect({
: inputValue
? // Just sort the items instead of filtering
items.sort(
- (a, b) =>
+ (a: InputSelectItemProps, b: InputSelectItemProps) =>
(b.value.toLowerCase().includes(search) ? 1 : 0) -
(a.value.toLowerCase().includes(search) ? 1 : 0),
)