fix title/name rendering

This commit is contained in:
Alex Holliday
2025-02-21 15:07:20 -08:00
parent 6f2a60acd9
commit 829b16e2b7

View File

@@ -8,7 +8,7 @@ import { StatusLabel } from "../../../../../Components/Label";
import { useTheme } from "@mui/material/styles";
import useUtils from "../../../../Uptime/Monitors/Hooks/useUtils";
import PropTypes from "prop-types";
const MonitorsList = ({ monitors = [] }) => {
const MonitorsList = ({ isLoading = false, shouldRender = true, monitors = [] }) => {
const theme = useTheme();
const { determineState } = useUtils();
return (
@@ -24,7 +24,7 @@ const MonitorsList = ({ monitors = [] }) => {
<Host
key={monitor._id}
url={monitor.url}
title={monitor.title}
title={monitor.name}
percentageColor={monitor.percentageColor}
percentage={monitor.percentage}
/>