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 holding-periods.tsx

Steven Tey89347baa0d22
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/rewards/holding-periods.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/rewards/holding-periods.tsx
index d08fb8df01..a1efeb6b21 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/rewards/holding-periods.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/rewards/holding-periods.tsx
@@ -21,7 +21,7 @@ export function HoldingPeriods() {
const form = useForm<FormData>({
mode: "onBlur",
defaultValues: {
- holdingPeriodDays: program?.holdingPeriodDays || 30,
+ holdingPeriodDays: program?.holdingPeriodDays,
},
});