diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/overview/components/SponsoredTransactionsTableUI.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/overview/components/SponsoredTransactionsTableUI.tsx index 65eee10eec4..b26e35753b2 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/overview/components/SponsoredTransactionsTableUI.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/overview/components/SponsoredTransactionsTableUI.tsx @@ -124,71 +124,77 @@ export function SponsoredTransactionsTableUI( {!props.isPending - ? props.sponsoredTransactions.map((transaction) => ( - - {/* Tx Hash */} - - - - - {/* Project */} - {props.variant === "team" && ( + ? props.sponsoredTransactions.map((transaction) => { + const utcTimestamp = transaction.timestamp.endsWith("Z") + ? transaction.timestamp + : `${transaction.timestamp}Z`; + + return ( + + {/* Tx Hash */} - p.id === transaction.projectId, - )} + + + + {/* Project */} + {props.variant === "team" && ( + + p.id === transaction.projectId, + )} + client={props.client} + /> + + )} + + {/* Chain */} + + + + + {/* Wallet */} + + - )} - - {/* Chain */} - - - - - {/* Wallet */} - - - - - {/* Time */} - - - - {formatDistance( - new Date(transaction.timestamp), - new Date(), - { - addSuffix: true, - }, - )} - - - - - {/* Fee */} - - - - - )) + + {/* Time */} + + + + {formatDistance( + new Date(utcTimestamp), + new Date(), + { + addSuffix: true, + }, + )} + + + + + {/* Fee */} + + + + + ); + }) : Array.from({ length: props.pageSize }).map((_, index) => (