Merge remote-tracking branch 'upstream/develop' into feat/60-min-chart

This commit is contained in:
Daniel Cojocea committed 2024-08-14 15:28:18 -04:00
commit fec0081ea5
27 files changed
+451 -423

No files matched your search

@@ -28,15 +28,6 @@ const CustomToolTip = ({ active, payload, label }) => {
};
const MonitorDetailsAreaChart = ({ checks }) => {
// SQUASH ERROR, NOT PERMANENT SOLUTION
const error = console.error;
console.error = (...args) => {
if (/defaultProps/.test(args[0])) return;
error(...args);
};
// END SQUASH ERROR, NOT PERMANENT SOLUTION
const formatDate = (timestamp) => {
const date = new Date(timestamp);
return date.toLocaleTimeString("en-US", {