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.

Correcting the x-axis (#3831)

Marcus Farrellbe182cfbc10b
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/page-client.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/page-client.tsx
index d94a7cc36d..6b3ee2f203 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/page-client.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/page-client.tsx
@@ -641,7 +641,12 @@ function BrandedChart({
)}
</ChartContext.Consumer>
- <XAxis showAxisLine={false} />
+ <XAxis
+ showAxisLine={false}
+ tickFormat={(date) =>
+ formatDateTooltip(date, { interval, start, end })
+ }
+ />
<Areas
seriesStyles={[
{