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:
MHSanaei 2026-05-23 16:06:31 +02:00
parent e96b4b067a
commit e8dc7192e1
No known key found for this signature in database
GPG key ID: 7E4060F2FBE5AB7A

View file

@ -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,