File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/payouts Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import {
2323 useTable ,
2424} from "@dub/ui" ;
2525import { Dots , MoneyBill2 , MoneyBills2 } from "@dub/ui/icons" ;
26- import { cn , formatDate , timeAgo } from "@dub/utils" ;
26+ import { cn , formatDate } from "@dub/utils" ;
2727import { fetcher } from "@dub/utils/src/functions/fetcher" ;
2828import { Row } from "@tanstack/react-table" ;
2929import { Command } from "cmdk" ;
@@ -129,7 +129,13 @@ export function PayoutTable() {
129129 id : "paidAt" ,
130130 header : "Paid" ,
131131 cell : ( { row } ) =>
132- row . original . paidAt ? timeAgo ( row . original . paidAt ) : "-" ,
132+ row . original . paidAt
133+ ? formatDate ( row . original . paidAt , {
134+ month : "short" ,
135+ day : "numeric" ,
136+ year : undefined ,
137+ } )
138+ : "-" ,
133139 } ,
134140 {
135141 id : "amount" ,
You can’t perform that action at this time.
0 commit comments