cleaning unused code

This commit is contained in:
Caio Cabral committed 2025-01-14 08:36:48 -05:00
1 parent 5e9629ee29
commit d54272ba30
5 files changed
+6 -10

No files matched your search

@@ -19,14 +19,6 @@ const UpBarChart = memo(({ monitor, type, onBarHover }) => {
const [chartHovered, setChartHovered] = useState(false);
const [hoveredBarIndex, setHoveredBarIndex] = useState(null);
/* const getColorRange = (responseTime) => {
return responseTime < 200
? { main: theme.palette.success.main, light: theme.palette.success.light }
: responseTime < 300
? { main: theme.palette.warning.main, light: theme.palette.warning.light }
: { main: theme.palette.error.main, light: theme.palette.error.light };
}; */
return (
<ResponsiveContainer
width="100%"