Skip to content

Commit ceaded5

Browse files
committed
rename pagination to meta
1 parent 26e4634 commit ceaded5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/dashboard/src/app/team/[team_slug]/(team)/~/usage/overview/components/SponsoredTransactionsTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const getSponsoredTransactions = async (
2424
) => {
2525
const res = await analyticsServerProxy<{
2626
data: SponsoredTransaction[];
27-
pagination: {
27+
meta: {
2828
total: number;
2929
};
3030
}>({
@@ -124,7 +124,7 @@ export function SponsoredTransactionsTable(
124124
});
125125

126126
const totalPages = sponsoredTransactionsQuery.data
127-
? Math.ceil(sponsoredTransactionsQuery.data.pagination.total / pageSize)
127+
? Math.ceil(sponsoredTransactionsQuery.data.meta.total / pageSize)
128128
: 0;
129129

130130
return (

0 commit comments

Comments
 (0)