diff --git a/x-pack/plugins/lens/public/metric_visualization/expression.tsx b/x-pack/plugins/lens/public/metric_visualization/expression.tsx index 6522a4c457949..5964b516b31d2 100644 --- a/x-pack/plugins/lens/public/metric_visualization/expression.tsx +++ b/x-pack/plugins/lens/public/metric_visualization/expression.tsx @@ -5,7 +5,7 @@ */ import './expression.scss'; - +import { I18nProvider } from '@kbn/i18n/react'; import React from 'react'; import ReactDOM from 'react-dom'; import { @@ -93,7 +93,9 @@ export const getMetricChartRenderer = ( ) => { const resolvedFormatFactory = await formatFactory; ReactDOM.render( - , + + + , domNode, () => { handlers.done();