Skip to content

Commit

Permalink
Fix missed renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed Nov 19, 2020
1 parent d2ccc1a commit 1933a49
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
* you may not use this file except in compliance with the Elastic License.
*/

import { IngestManagerStartServices } from '../../../plugin';
import { FleetStartServices } from '../../../plugin';
import { useKibana } from '../../../../../../../src/plugins/kibana_react/public';

export function useStartServices(): IngestManagerStartServices {
const { services } = useKibana<IngestManagerStartServices>();
export function useStartServices(): FleetStartServices {
const { services } = useKibana<FleetStartServices>();
if (services === null) {
throw new Error('KibanaContextProvider not initialized');
}
Expand Down

0 comments on commit 1933a49

Please sign in to comment.