From 518c4bb9c523b4598aec8f2939912c5787fc1b67 Mon Sep 17 00:00:00 2001 From: Tomek Marciniak Date: Fri, 13 Oct 2023 09:58:01 +0200 Subject: [PATCH] fix(pagination): fix page number rerendering --- src/components/accounts/accounts-table.tsx | 7 ++++--- src/components/staking/staking-table.tsx | 7 ++++--- src/components/transactions/transactions-table.tsx | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/accounts/accounts-table.tsx b/src/components/accounts/accounts-table.tsx index 9f8a0fe..7212b46 100644 --- a/src/components/accounts/accounts-table.tsx +++ b/src/components/accounts/accounts-table.tsx @@ -275,9 +275,9 @@ export const AccountsTable = ({ {header.isPlaceholder ? null : flexRender( - header.column.columnDef.header, - header.getContext() - )} + header.column.columnDef.header, + header.getContext() + )} ) })} @@ -322,6 +322,7 @@ export const AccountsTable = ({ ) })} @@ -301,6 +301,7 @@ export const StakingTable = ({ ) })} @@ -340,6 +340,7 @@ export const TransactionsTable = ({