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 use-commission-filters.tsx

Kiran K9369a82eb054
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/use-commission-filters.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/use-commission-filters.tsx
index 0e1c897fc0..84b92e8d1b 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/use-commission-filters.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/use-commission-filters.tsx
@@ -103,8 +103,9 @@ export function useCommissionFilters() {
key: "status",
icon: CircleDotted,
label: "Status",
- options: Object.entries(CommissionStatusBadges).map(
- ([value, { label }]) => {
+ options: Object.entries(CommissionStatusBadges)
+ .filter(([key]) => key !== "hold")
+ .map(([value, { label }]) => {
const Icon = CommissionStatusBadges[value].icon;
return {
value,
@@ -123,8 +124,7 @@ export function useCommissionFilters() {
})
: undefined,
};
- },
- ),
+ }),
},
],
[commissionsCount, partners, customers, groups],