Skip to content

Commit

Permalink
rename the import rather than changing syntax when passing
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Jun 30, 2020
1 parent e9309a7 commit 8b08a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/apm/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { i18n } from '@kbn/i18n';
import { lazy } from 'react';
import { euiThemeVars } from '@kbn/ui-shared-deps/theme';
import { euiThemeVars as theme } from '@kbn/ui-shared-deps/theme';
import { ConfigSchema } from '.';
import { ObservabilityPluginSetup } from '../../observability/public';
import {
Expand Down Expand Up @@ -82,7 +82,7 @@ export class ApmPlugin implements Plugin<ApmPluginSetup, ApmPluginStart> {
plugins.observability.dashboard.register({
appName: 'apm',
fetchData: async (params) => {
return fetchLandingPageData(params, { theme: euiThemeVars });
return fetchLandingPageData(params, { theme });
},
hasData,
});
Expand Down

0 comments on commit 8b08a60

Please sign in to comment.