diff --git a/src/qqq/components/widgets/charts/piechart/PieChart.tsx b/src/qqq/components/widgets/charts/piechart/PieChart.tsx index 8caf7c7..18ac555 100644 --- a/src/qqq/components/widgets/charts/piechart/PieChart.tsx +++ b/src/qqq/components/widgets/charts/piechart/PieChart.tsx @@ -95,45 +95,37 @@ function PieChart({description, chartData, chartSubheaderData}: Props): JSX.Elem {chartSubheaderData && ()} - - - - {useMemo( - () => ( - - ), - [chartData] - )} + + {useMemo( + () => ( + + ), + [chartData] + )} + + { + !chartData && ( + + - { - !chartData && ( - - - - ) - } - - + ) + } { description && ( <> - - - - - {parse(description)} - - - - + + + {parse(description)} + + ) }