diff --git a/spotlight-client/src/charts/ProportionalBar.tsx b/spotlight-client/src/charts/ProportionalBar.tsx index eb0836b3..aa065c6a 100644 --- a/spotlight-client/src/charts/ProportionalBar.tsx +++ b/spotlight-client/src/charts/ProportionalBar.tsx @@ -137,15 +137,14 @@ export default function ProportionalBar({ /> - {showLegend && ( - - {!preview && ( - - {title} - {noData && ", No Data"} - - )} - + + {!preview && ( + + {title} + {noData && ", No Data"} + + )} + {showLegend && ( - - )} + )} + )}