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.

Temporarily hide bounty performance chart

Kiran Kb54788ca5ad8
diff --git a/apps/web/app/(ee)/app.dub.co/embed/referrals/bounties/detail.tsx b/apps/web/app/(ee)/app.dub.co/embed/referrals/bounties/detail.tsx
index 2c560f23a8..d27a5dc4c5 100644
--- a/apps/web/app/(ee)/app.dub.co/embed/referrals/bounties/detail.tsx
+++ b/apps/web/app/(ee)/app.dub.co/embed/referrals/bounties/detail.tsx
@@ -22,7 +22,6 @@ import {
BountyEndDate,
BountyRewardsTable,
} from "../../../../partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/bounties/bounty-card";
-import { EmbedBountyPerformanceSection } from "./performance-section";
import { EmbedBountySubmissionDetail } from "./submission-detail";
import { EmbedBountySubmissionForm } from "./submission-form";
import { EmbedBountySubmissionsTable } from "./submissions-table";
@@ -166,12 +165,13 @@ export function EmbedBountyDetail({
</div>
</div>
- {bounty.type === "performance" ? (
- <EmbedBountyPerformanceSection
- bounty={bounty}
- programEnrollment={programEnrollment}
- />
- ) : (
+ {bounty.type === "performance" ? null : (
+ // (
+ // <EmbedBountyPerformanceSection
+ // bounty={bounty}
+ // programEnrollment={programEnrollment}
+ // />
+ // )
<EmbedBountySubmissionsTable
bounty={bounty}
onSubmit={(periodNumber) =>
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/bounties/[bountyId]/page-client.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/bounties/[bountyId]/page-client.tsx
index b7e6931d69..87b8487f32 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/bounties/[bountyId]/page-client.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/bounties/[bountyId]/page-client.tsx
@@ -18,7 +18,6 @@ import {
PartnerBountyCard,
PartnerBountyCardSkeleton,
} from "../bounty-card";
-import { BountyPerformanceSection } from "./bounty-performance-section";
import { BountySubmissionsTable } from "./bounty-submissions-table";
export function PartnerBountyPageClient() {
@@ -77,9 +76,10 @@ export function PartnerBountyPageClient() {
</div>
</div>
- {bounty.type === "performance" ? (
- <BountyPerformanceSection bounty={bounty} />
- ) : (
+ {bounty.type === "performance" ? null : (
+ // (
+ // <BountyPerformanceSection bounty={bounty} />
+ // )
<BountySubmissionsTable bounty={bounty} />
)}