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.

display the selected icon

Kiran Kb9550ffad835
diff --git a/apps/web/ui/partners/payout-invoice-sheet.tsx b/apps/web/ui/partners/payout-invoice-sheet.tsx
index 88f79aa57b..9e72e21872 100644
--- a/apps/web/ui/partners/payout-invoice-sheet.tsx
+++ b/apps/web/ui/partners/payout-invoice-sheet.tsx
@@ -262,7 +262,19 @@ function PayoutInvoiceSheetContent() {
}}
matchTriggerWidth
hideSearch
- />
+ caret
+ >
+ <div className="flex items-center gap-2">
+ {selectedPaymentMethodOption ? (
+ <>
+ <selectedPaymentMethodOption.icon className="size-4" />
+ {selectedPaymentMethodOption.label}
+ </>
+ ) : (
+ <div className="h-4 w-24 animate-pulse rounded-md bg-neutral-200" />
+ )}
+ </div>
+ </Combobox>
</div>
)}
@@ -300,6 +312,7 @@ function PayoutInvoiceSheetContent() {
}}
matchTriggerWidth
hideSearch
+ caret
/>
</div>
),