The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
useExistingEvents =false by default
Steven Tey8195a5a8859a
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-sheet.tsxindex 732d33e23b..19baaed1cf 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-sheet.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-sheet.tsx@@ -51,7 +51,7 @@ function CreateCommissionSheetContent({const [hasCustomLeadEventDate, setHasCustomLeadEventDate] = useState(false);const [hasCustomLeadEventName, setHasCustomLeadEventName] = useState(false);- const [useExistingEvents, setUseExistingEvents] = useState(true);+ const [useExistingEvents, setUseExistingEvents] = useState(false);const [commissionType, setCommissionType] =useState<CommissionType>("custom");@@ -540,11 +540,11 @@ function CreateCommissionSheetContent({optionClassName="h-8 flex items-center justify-center rounded-md flex-1 text-sm normal-case"indicatorClassName="bg-white"options={[+ { value: "new", label: "Create new events" },{value: "existing",label: "Use existing events",},- { value: "new", label: "Create new events" },]}selected={useExistingEvents ? "existing" : "new"}selectAction={(value: string) =>