Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-05-21 14:37:02 +02:00
parent 10bdd664b0
commit b2d59f751b
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ const LatestAccountsPanel: React.FC<ILatestAccountsPanel> = ({ limit = 5 }) => {
useEffect(() => { useEffect(() => {
dispatch(fetchUsers(['local', 'active'], 1, null, limit)) dispatch(fetchUsers(['local', 'active'], 1, null, limit))
.then((value) => { .then((value: { count: number }) => {
setTotal((value as { count: number }).count); setTotal(value.count);
}) })
.catch(() => {}); .catch(() => {});
}, []); }, []);