From 74c3a117701efeac9cc899cbb6d3c4d5f8c5047f Mon Sep 17 00:00:00 2001 From: Stacey Gammon Date: Mon, 10 Feb 2020 13:13:50 -0500 Subject: [PATCH] Move action registration out of AppMountContext fn --- .../ui_actions_explorer/public/plugin.tsx | 41 ++++++++++--------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/examples/ui_actions_explorer/public/plugin.tsx b/examples/ui_actions_explorer/public/plugin.tsx index f2b11b12f4a14..ab374f15aab74 100644 --- a/examples/ui_actions_explorer/public/plugin.tsx +++ b/examples/ui_actions_explorer/public/plugin.tsx @@ -17,7 +17,7 @@ * under the License. */ -import { Plugin, CoreSetup, AppMountParameters } from 'kibana/public'; +import { Plugin, CoreSetup, AppMountParameters, CoreStart } from 'kibana/public'; import { UiActionsStart, UiActionsSetup } from 'src/plugins/ui_actions/public'; import { ISearchAppMountContext } from '../../../src/plugins/data/public'; import { @@ -66,30 +66,25 @@ export class UiActionsExplorerPlugin implements Plugin