Skip to content

Commit 4b5c1d2

Browse files
committed
Update confirm-payouts-sheet.tsx
1 parent 2a32887 commit 4b5c1d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/ui/partners/confirm-payouts-sheet.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function ConfirmPayoutsSheetContent() {
149149

150150
return {
151151
holdPayoutsCount: payoutsCount[0].count,
152-
holdPayoutsAmount: payoutsCount[0].amount,
152+
holdPayoutsAmount: payoutsCount[0].amount ?? 0,
153153
};
154154
}, [payoutsCount]);
155155

@@ -815,7 +815,7 @@ function ConfirmPayoutsSheetContent() {
815815
)
816816
}
817817
/>
818-
{holdPayoutsCount > 0 && holdPayoutsAmount && (
818+
{holdPayoutsCount > 0 && (
819819
<div className="flex items-center justify-center gap-2 text-sm text-neutral-600">
820820
<span>
821821
Excluding{" "}

0 commit comments

Comments
 (0)