From e29b55408ff34c869725187b96c9f184aadcaba7 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 31 Dec 2024 16:39:50 -0800 Subject: [PATCH] Fixed color for upbarchart: --- Client/src/Pages/Uptime/Details/Charts/UpBarChart.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/src/Pages/Uptime/Details/Charts/UpBarChart.jsx b/Client/src/Pages/Uptime/Details/Charts/UpBarChart.jsx index 7ee77864d..08c8d778e 100644 --- a/Client/src/Pages/Uptime/Details/Charts/UpBarChart.jsx +++ b/Client/src/Pages/Uptime/Details/Charts/UpBarChart.jsx @@ -14,7 +14,7 @@ const UpBarChart = memo(({ stats, type, onBarHover }) => { ? { 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.contrastText, light: theme.palette.error.light }; + : { main: theme.palette.error.main, light: theme.palette.error.light }; }; return (