@@ -18,14 +18,14 @@ import { CanvasStartDeps, CanvasSetupDeps } from './plugin';
1818// @ts -ignore Untyped local
1919import { App } from './components/app' ;
2020import { KibanaContextProvider } from '../../../../src/plugins/kibana_react/public' ;
21- import { initInterpreter , resetInterpreter } from './lib/run_interpreter' ;
21+ import { initInterpreter } from './lib/run_interpreter' ;
2222import { registerLanguage } from './lib/monaco_language_def' ;
2323import { SetupRegistries } from './plugin_api' ;
2424import { initRegistries , populateRegistries , destroyRegistries } from './registries' ;
2525import { getDocumentationLinks } from './lib/documentation_links' ;
2626// @ts -ignore untyped component
2727import { HelpMenu } from './components/help_menu/help_menu' ;
28- import { createStore , destroyStore } from './store' ;
28+ import { createStore } from './store' ;
2929
3030import { VALUE_CLICK_TRIGGER , ActionByType } from '../../../../src/plugins/ui_actions/public' ;
3131/* eslint-disable */
@@ -35,12 +35,13 @@ import { init as initStatsReporter } from './lib/ui_metric';
3535
3636import { CapabilitiesStrings } from '../i18n' ;
3737
38- import { startServices , stopServices , services } from './services' ;
38+ import { startServices , services } from './services' ;
3939// @ts -ignore Untyped local
4040import { destroyHistory } from './lib/history_provider' ;
4141// @ts -ignore Untyped local
4242import { stopRouter } from './lib/router_provider' ;
43- import { unloadApp } from './state/actions/app' ;
43+ // @ts -ignore Untyped local
44+ import { appUnload } from './state/actions/app' ;
4445
4546import './style/index.scss' ;
4647
@@ -82,7 +83,7 @@ export const renderApp = (
8283 ) ;
8384 return ( ) => {
8485 ReactDOM . unmountComponentAtNode ( element ) ;
85- canvasStore . dispatch ( unloadApp ( ) ) ;
86+ canvasStore . dispatch ( appUnload ( ) ) ;
8687 } ;
8788} ;
8889
0 commit comments