Skip to content

Commit

Permalink
refactor: use shared dashboard plugin wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Jul 1, 2024
1 parent 6aa4207 commit 55bfa1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PluginWrapper.js
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 55bfa1d

Please sign in to comment.