diff --git a/x-pack/legacy/plugins/siem/public/mock/test_providers.tsx b/x-pack/legacy/plugins/siem/public/mock/test_providers.tsx index 00ff040503d53..6c0a85e3ef778 100644 --- a/x-pack/legacy/plugins/siem/public/mock/test_providers.tsx +++ b/x-pack/legacy/plugins/siem/public/mock/test_providers.tsx @@ -19,7 +19,6 @@ import { ThemeProvider } from 'styled-components'; import { createStore, State } from '../store'; import { mockGlobalState } from './global_state'; -// import './ui_settings'; import { createKibanaContextProviderMock } from './kibana_react'; jest.mock('ui/new_platform'); diff --git a/x-pack/legacy/plugins/siem/public/pages/detection_engine/detection_engine_empty_page.tsx b/x-pack/legacy/plugins/siem/public/pages/detection_engine/detection_engine_empty_page.tsx index 42967ea9e2155..a217fd6a737e7 100644 --- a/x-pack/legacy/plugins/siem/public/pages/detection_engine/detection_engine_empty_page.tsx +++ b/x-pack/legacy/plugins/siem/public/pages/detection_engine/detection_engine_empty_page.tsx @@ -13,21 +13,17 @@ import * as i18n from './translations'; const basePath = chrome.getBasePath(); -export const DetectionEngineEmptyPage = React.memo(() => { - const docLinks = useKibana().services.docLinks; - - return ( - - ); -}); +export const DetectionEngineEmptyPage = React.memo(() => ( + +)); DetectionEngineEmptyPage.displayName = 'DetectionEngineEmptyPage';