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.

code improvements

Pedro Ladeiraad5217c92d08
diff --git a/apps/web/ui/shared/duration-popover-content.tsx b/apps/web/ui/shared/duration-popover-content.tsx
index ecd758c0d5..f26d9f81fb 100644
--- a/apps/web/ui/shared/duration-popover-content.tsx
+++ b/apps/web/ui/shared/duration-popover-content.tsx
@@ -128,7 +128,7 @@ export function DurationPopoverContent({
);
const display = isNaN(parsed) ? raw : clamped.toString();
setCustomDurationInput(display);
- if (!isNaN(parsed) && parsed >= minValue) {
+ if (!isNaN(parsed)) {
onChange(clamped);
}
}}