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 delete-campaign-modal.tsx

Kiran Kf9df19da2f6e
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/campaigns/delete-campaign-modal.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/campaigns/delete-campaign-modal.tsx
index 0719512e99..b03f09ec52 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/campaigns/delete-campaign-modal.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/campaigns/delete-campaign-modal.tsx
@@ -58,23 +58,23 @@ const DeleteCampaignModal = ({
{campaign.name}
</span>
</div>
- </div>
- <div className="flex items-center justify-end gap-2 px-5 py-4">
- <Button
- variant="secondary"
- className="h-9 w-fit px-3"
- text="Cancel"
- onClick={() => setShowModal(false)}
- disabled={isSubmitting}
- />
- <Button
- variant="danger"
- className="h-9 w-fit px-3"
- text="Delete"
- loading={isSubmitting}
- onClick={handleCampaignDeletion}
- />
+ <div className="flex items-center justify-end gap-2">
+ <Button
+ variant="secondary"
+ className="h-9 w-fit px-3"
+ text="Cancel"
+ onClick={() => setShowModal(false)}
+ disabled={isSubmitting}
+ />
+ <Button
+ variant="danger"
+ className="h-9 w-fit px-3"
+ text="Delete"
+ loading={isSubmitting}
+ onClick={handleCampaignDeletion}
+ />
+ </div>
</div>
</Modal>
);