diff --git a/x-pack/legacy/plugins/infra/common/inventory_models/types.ts b/x-pack/legacy/plugins/infra/common/inventory_models/types.ts index 71774fd7025ed..93eaf214ad23e 100644 --- a/x-pack/legacy/plugins/infra/common/inventory_models/types.ts +++ b/x-pack/legacy/plugins/infra/common/inventory_models/types.ts @@ -5,7 +5,6 @@ */ import * as rt from 'io-ts'; -import { InfraSnapshotMetricType } from '../graphql/types'; export const ItemTypeRT = rt.keyof({ host: null, diff --git a/x-pack/legacy/plugins/infra/public/pages/metrics/components/section.tsx b/x-pack/legacy/plugins/infra/public/pages/metrics/components/section.tsx index 27b2a517f1904..32d2e2eff8ab9 100644 --- a/x-pack/legacy/plugins/infra/public/pages/metrics/components/section.tsx +++ b/x-pack/legacy/plugins/infra/public/pages/metrics/components/section.tsx @@ -10,7 +10,6 @@ import React, { isValidElement, cloneElement, FunctionComponent, - useCallback, useMemo, } from 'react'; import { EuiTitle } from '@elastic/eui';