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 rewards-logic.tsx

Tim Wilson439c3ca658d0
diff --git a/apps/web/ui/partners/rewards/rewards-logic.tsx b/apps/web/ui/partners/rewards/rewards-logic.tsx
index 0457d48000..92e4070729 100644
--- a/apps/web/ui/partners/rewards/rewards-logic.tsx
+++ b/apps/web/ui/partners/rewards/rewards-logic.tsx
@@ -338,7 +338,7 @@ function ConditionLogic({
// Update value to array / string if needed
...(["in", "not_in"].includes(value)
? !Array.isArray(condition.value)
- ? { value: [""] }
+ ? { value: [] }
: null
: typeof condition.value !== "string"
? { value: "" }