fix(ci): устранить ошибки eslint, блокировавшие CI
CI / test (push) Successful in 1m31s
CI / push-image (push) Successful in 8m3s
CI / ci-done (push) Successful in 0s
Deploy stage (admin) / deploy-stage-admin (push) Successful in 5m1s

Refs EventHub/EventHubFrontAdmin#32

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-14 18:47:10 +03:00
parent fd2c1f10ad
commit 2e669f396b
6 changed files with 23 additions and 20 deletions
+4 -3
View File
@@ -161,10 +161,11 @@ const AdminListPage: React.FC = () => {
});
};
const total = data?.total;
const exploreStats = useMemo(() => {
if (data?.total === undefined) return [];
return [{ label: t('common.total'), value: data.total }];
}, [data?.total, t]);
if (total === undefined) return [];
return [{ label: t('common.total'), value: total }];
}, [total, t]);
const columns = useMemo<ColumnDef<Admin>[]>(
() => [