diff --git a/client/src/Components/MonitorCreateHeader/index.jsx b/client/src/Components/MonitorCreateHeader/index.jsx index 382345379..05a9b7f9b 100644 --- a/client/src/Components/MonitorCreateHeader/index.jsx +++ b/client/src/Components/MonitorCreateHeader/index.jsx @@ -1,14 +1,13 @@ import { Stack, Button } from "@mui/material"; import { useNavigate } from "react-router-dom"; import PropTypes from "prop-types"; -import SkeletonLayout from "./skeleton"; import { useTranslation } from "react-i18next"; import { useTheme } from "@emotion/react"; const CreateMonitorHeader = ({ isAdmin, label = "Create new", - shouldRender = true, + isLoading = true, path, bulkPath, }) => { @@ -17,7 +16,6 @@ const CreateMonitorHeader = ({ const theme = useTheme(); if (!isAdmin) return null; - if (!shouldRender) return ; return ( {bulkPath && (