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 K9a30bb2d965c
diff --git a/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/overview/page-client.tsx b/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/overview/page-client.tsx
index d83a817af2..454e4a6727 100644
--- a/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/overview/page-client.tsx
+++ b/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/overview/page-client.tsx
@@ -53,7 +53,7 @@ export function PageClient() {
return true;
}, [data]);
- const reward: Omit<RewardProps, "id"> = {
+ const reward: Omit<RewardProps, "id" | "updatedAt"> = {
type: (data.type ?? "flat") as RewardStructure,
amountInCents: data.amountInCents != null ? data.amountInCents * 100 : null,
amountInPercentage: data.amountInPercentage,