fix(ci): устранить ошибки eslint, блокировавшие CI
Refs EventHub/EventHubFrontAdmin#32 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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>[]>(
|
||||
() => [
|
||||
|
||||
Reference in New Issue
Block a user