refactor: changing friendly to display name

This commit is contained in:
Caio Cabral committed 2024-11-29 10:17:09 -05:00
1 parent 221ec01543
commit 88020e9207
4 files changed
+22 -23

No files matched your search

@@ -54,8 +54,8 @@ const CustomGauge = ({ progress = 0, radius = 70, strokeWidth = 15, threshold =
const fillColor =
progressWithinRange > threshold
? theme.palette.primary.main
: theme.palette.percentage.uptimePoor;
? theme.palette.percentage.uptimePoor
: theme.palette.primary.main;
return (
<Box
@@ -2,6 +2,8 @@ import { RadialBarChart, RadialBar, ResponsiveContainer } from "recharts";
import PropTypes from "prop-types";
import { useTheme } from "@emotion/react";
/* TODO delete component */
const MINIMUM_VALUE = 0;
const MAXIMUM_VALUE = 100;
const CHART_MAXIMUM_DATA = {