From 55bfa1d2a4de7aff79ec385ea86b12b7d0fa1c1e Mon Sep 17 00:00:00 2001 From: Edoardo Sabadelli Date: Mon, 3 Jun 2024 15:36:10 +0200 Subject: [PATCH] refactor: use shared dashboard plugin wrapper --- src/PluginWrapper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PluginWrapper.js b/src/PluginWrapper.js index 733b1dac6..e4590dc35 100644 --- a/src/PluginWrapper.js +++ b/src/PluginWrapper.js @@ -1,7 +1,8 @@ +import { DashboardPluginWrapper } from '@dhis2/analytics' import React, { useCallback, useEffect, useState } from 'react' import { Visualization } from './components/Visualization/Visualization.js' -import { DashboardPluginWrapper } from './DashboardPluginWrapper.js' import { getAdaptedUiSorting } from './modules/current.js' +import './locales/index.js' const PluginWrapper = (props) => { const [propsFromParent, setPropsFromParent] = useState(props)