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 add-edit-reward-sheet.tsx

Tim Wilson9429df8a7f08
diff --git a/apps/web/ui/partners/rewards/add-edit-reward-sheet.tsx b/apps/web/ui/partners/rewards/add-edit-reward-sheet.tsx
index 36c0ab9596..bb5dcc4919 100644
--- a/apps/web/ui/partners/rewards/add-edit-reward-sheet.tsx
+++ b/apps/web/ui/partners/rewards/add-edit-reward-sheet.tsx
@@ -186,7 +186,7 @@ function RewardSheetContent({
return;
}
- let modifiers: RewardConditionsArray | undefined;
+ let modifiers: RewardConditionsArray | null = null;
if (data.modifiers?.length) {
try {
modifiers = rewardConditionsArraySchema.parse(