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 page-client.tsx

Kiran K566375d00828
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/campaigns/[campaignId]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/campaigns/[campaignId]/page-client.tsx
index 6bdca99c51..88d405fa74 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/campaigns/[campaignId]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/campaigns/[campaignId]/page-client.tsx
@@ -177,11 +177,6 @@ function ProgramEmailForm() {
)}
/>
</label>
-
- <label className="contents">
- <span className={labelClassName}>Delivery</span>
- <div />
- </label>
</div>
<div className="mt-6">
@@ -200,8 +195,9 @@ function ProgramEmailForm() {
workspaceId: workspaceId!,
});
- if (!result?.data)
+ if (!result?.data) {
throw new Error("Failed to get signed upload URL");
+ }
const { signedUrl, destinationUrl } = result.data;
@@ -214,8 +210,9 @@ function ProgramEmailForm() {
},
});
- if (!uploadResponse.ok)
+ if (!uploadResponse.ok) {
throw new Error("Failed to upload to signed URL");
+ }
return destinationUrl;
} catch (e) {