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 create-commission-sheet.tsx

Steven Tey9f140ea77a2e
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.tsx
index a45c58789b..5e2ce497a7 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
@@ -137,7 +137,7 @@ function CreateCommissionSheetContent({
</label>
<div className="mt-2">
<PartnerLinkSelector
- selectedLinkId={linkId}
+ selectedLinkId={linkId ?? null}
showDestinationUrl={false}
partnerId={partnerId}
setSelectedLinkId={(id) => {