rename CreateMonitor header to match other headers

This commit is contained in:
Alex Holliday
2025-01-30 14:23:05 -08:00
parent 60b553a890
commit de7f0a1193
2 changed files with 1 additions and 1 deletions
@@ -3,7 +3,7 @@ import { useNavigate } from "react-router-dom";
import PropTypes from "prop-types";
import SkeletonLayout from "./skeleton";
const CreateMonitorHeader = ({ isAdmin, shouldRender, path }) => {
const CreateMonitorHeader = ({ isAdmin, shouldRender = true, path }) => {
const navigate = useNavigate();
if (!isAdmin) return null;
if (!shouldRender) return <SkeletonLayout />;