File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ import {
4747 fetcher ,
4848 formatDate ,
4949 nFormatter ,
50+ pluralize ,
5051 truncate ,
5152} from "@dub/utils" ;
5253import { useAction } from "next-safe-action/hooks" ;
@@ -817,15 +818,17 @@ function ConfirmPayoutsSheetContent() {
817818 { holdPayoutsCount > 0 && holdPayoutsAmount && (
818819 < div className = "flex items-center justify-center gap-2 text-sm text-neutral-600" >
819820 < span >
821+ Excluding{ " " }
820822 < span className = "font-medium text-neutral-800" >
821823 { nFormatter ( holdPayoutsCount , { full : true } ) }
822- </ span > { " " }
823- { holdPayoutsCount === 1 ? "payout is" : "payouts are" } also on
824- hold, totaling{ " " }
824+ </ span >
825+ { ` on hold ${ pluralize ( "payout" , holdPayoutsCount ) } ` }
825826 < span className = "font-medium text-neutral-800" >
827+ (
826828 { currencyFormatter ( holdPayoutsAmount , {
827829 trailingZeroDisplay : "stripIfInteger" ,
828830 } ) }
831+ )
829832 </ span >
830833 </ span >
831834 < Button
You can’t perform that action at this time.
0 commit comments