We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26e4634 commit ceaded5Copy full SHA for ceaded5
apps/dashboard/src/app/team/[team_slug]/(team)/~/usage/overview/components/SponsoredTransactionsTable.tsx
@@ -24,7 +24,7 @@ const getSponsoredTransactions = async (
24
) => {
25
const res = await analyticsServerProxy<{
26
data: SponsoredTransaction[];
27
- pagination: {
+ meta: {
28
total: number;
29
};
30
}>({
@@ -124,7 +124,7 @@ export function SponsoredTransactionsTable(
124
});
125
126
const totalPages = sponsoredTransactionsQuery.data
127
- ? Math.ceil(sponsoredTransactionsQuery.data.pagination.total / pageSize)
+ ? Math.ceil(sponsoredTransactionsQuery.data.meta.total / pageSize)
128
: 0;
129
130
return (
0 commit comments