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 add-edit-bounty-sheet.tsx

Kiran K9726b48785c1
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx
index 48f4ca2852..cc28e8623b 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx
@@ -102,7 +102,9 @@ function BountySheetContent({ setIsOpen, bounty }: BountySheetProps) {
performanceCondition: bounty?.performanceCondition
? {
...bounty.performanceCondition,
- value: bounty.performanceCondition.value / 100,
+ value: isCurrencyAttribute(bounty.performanceCondition.attribute)
+ ? bounty.performanceCondition.value / 100
+ : bounty.performanceCondition.value,
}
: {
operator: "gte",