Skip to content

Commit d43f242

Browse files
author
Jeffrey Na
committed
fixed HealthChart comments
1 parent 0dd75cf commit d43f242

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/charts/HealthChart.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ type PlotlyData = {
2525
marker: { colors: string[] };
2626
};
2727

28+
/**
29+
* @params {HealthChartProps} props - the props object containing necessary data.
30+
* @desc Memoized component to generate a health chart with formatted data.
31+
* @returns JSX element with the health chart.
32+
*/
2833
const HealthChart: React.FC<HealthChartProps> = React.memo(props => {
2934
const { dataType, serviceName, chartData, categoryName, sizing, colourGenerator } = props;
3035
const [solo, setSolo] = useState<SoloStyles | null>(null);

0 commit comments

Comments
 (0)