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 sale-type-block.tsx

Tim Wilsonb3e344589a10
diff --git a/apps/web/ui/partners/overview/blocks/sale-type-block.tsx b/apps/web/ui/partners/overview/blocks/sale-type-block.tsx
index de65dd8d9a..bbf3701bd3 100644
--- a/apps/web/ui/partners/overview/blocks/sale-type-block.tsx
+++ b/apps/web/ui/partners/overview/blocks/sale-type-block.tsx
@@ -36,11 +36,6 @@ export function SaleTypeBlock() {
const isLoading = isLoadingRecurring || !totalEvents;
- if (totalEvents && recurringEvents) {
- //recurringEvents.sales = 0;
- //totalEvents.sales = 0;
- }
-
const items = useMemo(() => {
if (!totalEvents || !recurringEvents) return [];