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 bounty-submissions-table.tsx

Kiran Kd84c59ffc664
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submissions-table.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submissions-table.tsx
index 0693fd77b8..98afb93d58 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submissions-table.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submissions-table.tsx
@@ -202,12 +202,7 @@ export function BountySubmissionsTable() {
return "-";
}
- const value = row.original.count;
-
- if (!value) {
- return "-";
- }
-
+ const value = row.original.count ?? 0;
const attribute = performanceCondition.attribute;
const target = performanceCondition.value;