Skip to content

Commit 2dbead6

Browse files
committed
Remove RecentPaymentsSection and reduce payment history page size
1 parent a02b557 commit 2dbead6

File tree

3 files changed

+1
-155
lines changed

3 files changed

+1
-155
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/components/PaymentHistory.client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { TableData, TableHeading, TableHeadingRow } from "./common";
1616
import { formatTokenAmount } from "./format";
1717
import { TableRow } from "./PaymentsTableRow";
1818

19-
const pageSize = 50;
19+
const pageSize = 20;
2020

2121
export function PaymentHistory(props: {
2222
client: ThirdwebClient;

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/components/RecentPaymentsSection.client.tsx

Lines changed: 0 additions & 146 deletions
This file was deleted.

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/page.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { loginRedirect } from "@/utils/redirects";
1010
import { AdvancedSection } from "./components/AdvancedSection.client";
1111
import { PayAnalytics } from "./components/PayAnalytics";
1212
import { QuickStartSection } from "./components/QuickstartSection.client";
13-
import { RecentPaymentsSection } from "./components/RecentPaymentsSection.client";
1413
import { getUniversalBridgeFiltersFromSearchParams } from "./components/time";
1514
import { CreatePaymentLinkButton } from "./links/components/CreatePaymentLinkButton.client";
1615
import { PaymentLinksTable } from "./links/components/PaymentLinksTable.client";
@@ -167,13 +166,6 @@ export default async function Page(props: {
167166
teamId={project.teamId}
168167
authToken={authToken}
169168
/>
170-
<RecentPaymentsSection
171-
jwt={authToken}
172-
projectClientId={project.publishableKey}
173-
teamId={project.teamId}
174-
projectSlug={params.project_slug}
175-
teamSlug={params.team_slug}
176-
/>
177169

178170
<PaymentLinksTable
179171
clientId={project.publishableKey}

0 commit comments

Comments
 (0)