mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 12:44:22 +00:00
fix(clients): include inboundsById in columns memo deps
Without it, the table's first paint captured an empty inboundsById and rendered each attached inbound as #<id>. Once a sort/filter forced the memo to rebuild it self-corrected, hence the visible flicker on reload.
This commit is contained in:
parent
e96b4b067a
commit
e8dc7192e1
1 changed files with 1 additions and 1 deletions
|
|
@ -590,7 +590,7 @@ export default function ClientsPage() {
|
|||
}, 'expiryTime'),
|
||||
];
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [t, togglingEmail, sortColumn, sortOrder, clientBucket, isOnline]);
|
||||
}, [t, togglingEmail, sortColumn, sortOrder, clientBucket, isOnline, inboundsById]);
|
||||
|
||||
const tablePagination = {
|
||||
current: currentPage,
|
||||
|
|
|
|||
Loading…
Reference in a new issue