rename CreateMonitor header to match other headers

This commit is contained in:
Alex Holliday committed 2025-01-30 14:23:05 -08:00
1 parent 60b553a890
commit de7f0a1193
2 files changed
+1 -1

No files matched your search

@@ -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 />;