Skip to content

Commit

Permalink
Minor changes to allow a clean build
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinvanschoren committed Jan 29, 2024
1 parent 9b3935c commit 2b5c7bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/components/charts/HorizontalBoxPlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const HorizontalBoxPlot = (props) => {
return () => {
myChart.destroy();
};
}, [data]);
}, [data, chartId]);

return <canvas id={chartId}></canvas>;
};
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/charts/StackedBarChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const StackedBarChart = (props) => {
return () => {
myChart.destroy();
};
}, [data]);
}, [data, chartId, showX, targets]);

return <canvas id={chartId}></canvas>;
};
Expand Down

0 comments on commit 2b5c7bf

Please sign in to comment.