The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Narrow the groupBy option of useEarningsPageHref to linkId
Rafi1203efcfac27
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/overview/use-earnings-page-href.ts b/apps/web/app/(ee)/partners.dub.co/(dashboard)/overview/use-earnings-page-href.tsindex 16c04433b9..7c2258c289 100644--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/overview/use-earnings-page-href.ts+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/overview/use-earnings-page-href.ts@@ -1,9 +1,7 @@import { useRouterStuff } from "@dub/ui";// the All programs Earnings page, with the date range of the Overview page-export function useEarningsPageHref(- params: { groupBy?: "linkId" | "programId" } = {},-) {+export function useEarningsPageHref(params: { groupBy?: "linkId" } = {}) {const { getQueryString } = useRouterStuff();return `/earnings${getQueryString(params, {