diff --git a/x-pack/legacy/plugins/siem/public/apps/context/kibana_core.tsx b/x-pack/legacy/plugins/siem/public/apps/context/kibana_core.tsx deleted file mode 100644 index 778e138c5fa6c05..000000000000000 --- a/x-pack/legacy/plugins/siem/public/apps/context/kibana_core.tsx +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License; - * you may not use this file except in compliance with the Elastic License. - */ - -import React, { createContext, useContext } from 'react'; -import { InternalCoreStart } from '../../../../../../src/core/public'; - -interface AppMountContext { - core: InternalCoreStart; -} - -// TODO: Replace CoreStart/CoreSetup with AppMountContext -// see: https://github.com/elastic/kibana/pull/41007 - -export const KibanaCoreContext = createContext({} as AppMountContext['core']); - -export const KibanaCoreContextProvider: React.FC<{ core: AppMountContext['core'] }> = props => ( - -); - -export function useKibanaCore() { - return useContext(KibanaCoreContext); -}