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.

Remove 1h preset

Tim Wilson059185e30803
diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsx
index f39de26787..c9f298cc68 100644
--- a/apps/web/ui/analytics/toggle.tsx
+++ b/apps/web/ui/analytics/toggle.tsx
@@ -120,7 +120,9 @@ export default function Toggle() {
},
});
}}
- presets={INTERVAL_DISPLAYS.map(({ display, value }) => {
+ presets={INTERVAL_DISPLAYS.filter(
+ ({ value }) => value !== "1h",
+ ).map(({ display, value }) => {
const start = INTERVAL_DATA[value].startDate;
const end = new Date();