From acbad67f478f2381c83bd853e45b167336562fe0 Mon Sep 17 00:00:00 2001 From: bankjirapan Date: Tue, 21 Jan 2025 14:16:22 +0700 Subject: [PATCH] refactor: Format value clientstats --- client/src/components/Settings/Clients/AutoClients.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Settings/Clients/AutoClients.tsx b/client/src/components/Settings/Clients/AutoClients.tsx index f633f76a..4f6d8114 100644 --- a/client/src/components/Settings/Clients/AutoClients.tsx +++ b/client/src/components/Settings/Clients/AutoClients.tsx @@ -12,7 +12,7 @@ import whoisCell from './whoisCell'; import LogsSearchLink from '../../ui/LogsSearchLink'; -import { sortIp } from '../../../helpers/helpers'; +import { sortIp, formatNumber } from '../../../helpers/helpers'; import { LocalStorageHelper, LOCAL_STORAGE_KEYS } from '../../../helpers/localStorageHelper'; import { TABLES_MIN_ROWS } from '../../../helpers/constants'; @@ -66,7 +66,7 @@ class AutoClients extends Component { return (
- {clientStats} + {formatNumber(clientStats)}
);