From f5e892b1bc1de270aa93ab1079d04d57da6ada8b Mon Sep 17 00:00:00 2001 From: evavirseda Date: Wed, 8 Jan 2025 11:08:43 +0100 Subject: [PATCH] fix(explorer): checkpoint total transactions (#4703) --- .../utils/generateCheckpointsTableColumns.tsx | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/apps/explorer/src/lib/ui/utils/generateCheckpointsTableColumns.tsx b/apps/explorer/src/lib/ui/utils/generateCheckpointsTableColumns.tsx index 27db60a3252..091dab73950 100644 --- a/apps/explorer/src/lib/ui/utils/generateCheckpointsTableColumns.tsx +++ b/apps/explorer/src/lib/ui/utils/generateCheckpointsTableColumns.tsx @@ -46,12 +46,12 @@ export function generateCheckpointsTableColumns(): ColumnDef[] { }, { header: 'Transactions', - accessorKey: 'networkTotalTransactions', + accessorKey: 'transactions', cell: ({ getValue }) => { - const networkTotalTransactions = getValue(); + const transactions = getValue(); return ( - {networkTotalTransactions} + {transactions.length} ); }, @@ -70,17 +70,5 @@ export function generateCheckpointsTableColumns(): ColumnDef[] { ); }, }, - { - header: 'Transaction Block Count', - accessorKey: 'transactions', - cell: ({ getValue }) => { - const transactions = getValue(); - return ( - - {transactions.length} - - ); - }, - }, ]; }