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-submission-details-sheet.tsx

Tim Wilson8e048aa7aebb
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx
index 3fd1eef355..ceb7740c51 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx
@@ -222,7 +222,9 @@ function BountySubmissionDetailsSheetContent({
? "Bounty submission already rejected."
: undefined
}
- disabled={isApprovingBountySubmission}
+ disabled={
+ isApprovingBountySubmission || submission.status === "approved"
+ }
onClick={() => setShowRejectModal(true)}
/>