Monitor summary now displays correct data
This commit is contained in:
1 parent
171b1b8059
commit
9b8c651736
2 files changed
+17
-5
No files matched your search
@@ -7,7 +7,7 @@ import { useTheme } from "@mui/material";
|
||||
* @component
|
||||
* @param {Object} props
|
||||
* @param {string} props.title - The title text for the server status (required)
|
||||
* @param {string} props.value - The value text to be displayed (required)
|
||||
* @param {number} props.value - The value text to be displayed (required)
|
||||
* @param {string} props.state - The state of the server (e.g., "online", "offline", "warning") (required)
|
||||
* @returns {JSX.Element} - Renders the server status component
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ const ServerStatus = ({ title, value, state }) => {
|
||||
|
||||
ServerStatus.propTypes = {
|
||||
title: PropTypes.string.isRequired,
|
||||
value: PropTypes.string.isRequired,
|
||||
value: PropTypes.number.isRequired,
|
||||
state: PropTypes.string.isRequired,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user