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.

Undo unrelated formatting in two files

Raficb023cbd26e0
diff --git a/apps/web/lib/swr/use-partner-profile-earnings.ts b/apps/web/lib/swr/use-partner-profile-earnings.ts
index e6ed81a7de..47299a2154 100644
--- a/apps/web/lib/swr/use-partner-profile-earnings.ts
+++ b/apps/web/lib/swr/use-partner-profile-earnings.ts
@@ -73,9 +73,7 @@ export function usePartnerProfileEarningsAnalytics<
limit,
...dateRange
}: DateRange & { groupBy: G; limit?: number }) {
- return usePartnerProfileEarningsSWR<
- PartnerProfileEarningsAnalyticsByGroup[G]
- >(
+ return usePartnerProfileEarningsSWR<PartnerProfileEarningsAnalyticsByGroup[G]>(
"/analytics",
{
groupBy,
diff --git a/apps/web/lib/types.ts b/apps/web/lib/types.ts
index 0fb0cba36e..588a9a0702 100644
--- a/apps/web/lib/types.ts
+++ b/apps/web/lib/types.ts
@@ -5,13 +5,13 @@ import {
PartnerEarningsSchema,
partnerPayoutMethodSchema,
PartnerProfileCustomerSchema,
- partnerProfileEarningsAnalyticsQuerySchema,
PartnerProfileEarningsSchema,
PartnerProfileLinkSchema,
PartnerProfileProgramEnrollmentSchema,
PartnerProfileTopLinkEarningsSchema,
PartnerProfileTopProgramEarningsSchema,
PartnerProfileTypeEarningsSchema,
+ partnerProfileEarningsAnalyticsQuerySchema,
partnerSubmittedLeadsCountByStatusSchema,
partnerUserSchema,
} from "@/lib/zod/schemas/partner-profile";