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-button.tsx

Kiran K4c70a0dd17a3
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-button.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-button.tsx
index f9e9420d2c..39efa24453 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-button.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-button.tsx
@@ -5,7 +5,10 @@ import { useCreateCommissionSheet } from "./create-commission-sheet";
export function CreateCommissionButton() {
const { createCommissionSheet, setIsOpen: setShowCreateCommissionSheet } =
- useCreateCommissionSheet();
+ useCreateCommissionSheet({
+ nested: false,
+ partnerId: "",
+ });
useKeyboardShortcut("c", () => setShowCreateCommissionSheet(true));