cleaning unused code
This commit is contained in:
1 parent
5e9629ee29
commit
d54272ba30
5 files changed
+6
-10
No files matched your search
@@ -41,6 +41,7 @@ const UptimeMonitors = () => {
|
||||
const theme = useTheme();
|
||||
const navigate = useNavigate();
|
||||
const isAdmin = useIsAdmin();
|
||||
|
||||
const authState = useSelector((state) => state.auth);
|
||||
|
||||
const fetchParams = useMemo(
|
||||
@@ -65,6 +66,7 @@ const UptimeMonitors = () => {
|
||||
? "0"
|
||||
: (monitor.uptimePercentage * 100).toFixed(2);
|
||||
|
||||
/* TODO check */
|
||||
percentageColor =
|
||||
monitor.uptimePercentage < 0.25
|
||||
? "red" /* theme.palette.percentage.uptimePoor */
|
||||
|
||||
Reference in new issue
Block a user