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 partner-info.tsx

Tim Wilsondee186ba3d55
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/[partnerId]/partner-info.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/[partnerId]/partner-info.tsx
index 03ec52702a..4697bff2fa 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/[partnerId]/partner-info.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/[partnerId]/partner-info.tsx
@@ -50,11 +50,7 @@ export function PartnerInfo({ partner }: { partner?: EnrolledPartnerProps }) {
groupIdOrSlug: partner?.groupId ?? undefined,
});
- const {
- data: bounties,
- isLoading: isLoadingBounties,
- error: errorBounties,
- } = useSWR<BountyListProps[]>(
+ const { data: bounties, error: errorBounties } = useSWR<BountyListProps[]>(
workspaceId
? `/api/bounties?workspaceId=${workspaceId}&partnerId=${partnerId}`
: null,