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 payout-invoice-sheet.tsx

Tim Wilson1f668c008379
diff --git a/apps/web/ui/partners/payout-invoice-sheet.tsx b/apps/web/ui/partners/payout-invoice-sheet.tsx
index b059a3d1b1..2ae8915535 100644
--- a/apps/web/ui/partners/payout-invoice-sheet.tsx
+++ b/apps/web/ui/partners/payout-invoice-sheet.tsx
@@ -375,7 +375,7 @@ function PayoutInvoiceSheetContent() {
setExcludedPayoutIds((ids) =>
ids.includes(row.original.id)
? ids.filter((id) => id !== row.original.id)
- : [...excludedPayoutIds, row.original.id],
+ : [...ids, row.original.id],
)
}
/>
@@ -481,6 +481,7 @@ function PayoutInvoiceSheetContent() {
workspaceId,
paymentMethodId: selectedPaymentMethod.id,
cutoffPeriod,
+ excludedPayoutIds,
});
}}
text={