diff --git a/public/pages/Detectors/containers/Detector/DetectorDetails.tsx b/public/pages/Detectors/containers/Detector/DetectorDetails.tsx index b10d22d56..21cc9580b 100644 --- a/public/pages/Detectors/containers/Detector/DetectorDetails.tsx +++ b/public/pages/Detectors/containers/Detector/DetectorDetails.tsx @@ -9,7 +9,6 @@ import { EuiContextMenuPanel, EuiFlexGroup, EuiFlexItem, - EuiPanel, EuiPopover, EuiSpacer, EuiTab, @@ -328,7 +327,7 @@ export class DetectorDetails extends React.Component + <> @@ -360,7 +359,7 @@ export class DetectorDetails extends React.Component{this.renderTabs()} {selectedTabContent} - + ); } } diff --git a/public/pages/Rules/components/RulesTable/RulesTable.tsx b/public/pages/Rules/components/RulesTable/RulesTable.tsx index 66dd3687e..d4abb4bd2 100644 --- a/public/pages/Rules/components/RulesTable/RulesTable.tsx +++ b/public/pages/Rules/components/RulesTable/RulesTable.tsx @@ -9,7 +9,7 @@ import { getRulesTableSearchConfig, RuleTableItem, } from '../../utils/helpers'; -import { CriteriaWithPagination, EuiInMemoryTable, EuiPanel } from '@elastic/eui'; +import { CriteriaWithPagination, EuiInMemoryTable } from '@elastic/eui'; export interface RulesTableProps { ruleItems: RuleTableItem[]; @@ -21,18 +21,16 @@ export const RulesTable: React.FC = ({ ruleItems, loading, show const [pagination, setPagination] = useState({ pageIndex: 0, pageSize: 25 }); return ( - - ) => - setPagination({ pageIndex: nextValues.page.index, pageSize: nextValues.page.size }) - } - sorting={true} - /> - + ) => + setPagination({ pageIndex: nextValues.page.index, pageSize: nextValues.page.size }) + } + sorting={true} + /> ); }; diff --git a/public/pages/Rules/containers/Rules/Rules.tsx b/public/pages/Rules/containers/Rules/Rules.tsx index 43e6b9603..e17eee4a9 100644 --- a/public/pages/Rules/containers/Rules/Rules.tsx +++ b/public/pages/Rules/containers/Rules/Rules.tsx @@ -3,7 +3,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiTitle } from '@elastic/eui'; +import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiPanel, EuiSpacer, EuiTitle } from '@elastic/eui'; import { ServicesContext } from '../../../../services'; import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react'; import { RouteComponentProps } from 'react-router-dom'; @@ -119,7 +119,9 @@ export const Rules: React.FC = (props) => { - + + +