The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
allow setting bounty start date in the past
Steven Tey2924e5b24e0c
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty/use-add-edit-bounty-form.ts b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty/use-add-edit-bounty-form.tsindex ecade1f501..1a94df5f23 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty/use-add-edit-bounty-form.ts+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty/use-add-edit-bounty-form.ts@@ -215,13 +215,6 @@ export function useAddEditBountyForm({const validationError = useMemo(() => {const now = new Date();- if (startsAt && startsAt !== bounty?.startsAt) {- const startDate = new Date(startsAt);- if (startDate < now) {- return "Please choose a start date that is in the future.";- }- }-const effectiveStartDate = startsAt ? new Date(startsAt) : now;if (endsAt) {