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

Kiran Kdad1ed9664d2
diff --git a/apps/web/ui/partners/add-edit-reward-sheet.tsx b/apps/web/ui/partners/add-edit-reward-sheet.tsx
index 024ae434af..bba2f4f0c5 100644
--- a/apps/web/ui/partners/add-edit-reward-sheet.tsx
+++ b/apps/web/ui/partners/add-edit-reward-sheet.tsx
@@ -241,9 +241,6 @@ function RewardSheetContent({
maxAmount: data.maxAmount ? data.maxAmount * 100 : null,
};
- console.log(payload);
- return;
-
if (!reward) {
await createReward(payload);
} else {
@@ -442,7 +439,7 @@ function RewardSheetContent({
height
transition={{ ease: "easeInOut", duration: 0.2 }}
>
- <div className="flex flex-col p-1">
+ <div className="flex flex-col gap-4 p-1">
<div className="grid grid-cols-1 gap-3 lg:grid-cols-2">
{COMMISSION_TYPES.map(
({ label, description, value }) => {