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 duration-popover-content

Pedro Ladeirab80effe42868
diff --git a/apps/web/ui/shared/duration-popover-content.tsx b/apps/web/ui/shared/duration-popover-content.tsx
index f26d9f81fb..8413b90eea 100644
--- a/apps/web/ui/shared/duration-popover-content.tsx
+++ b/apps/web/ui/shared/duration-popover-content.tsx
@@ -96,9 +96,6 @@ export function DurationPopoverContent({
value === 0 ||
presetDurations.includes(Number(value));
- const clampDuration = (parsed: number) =>
- Math.max(minValue, Math.min(parsed, MAX_DURATION_LIMIT));
-
if (showCustomInput) {
return (
<div className="flex flex-col gap-1.5 p-1">