rename CreateMonitor header to match other headers
This commit is contained in:
1 parent
60b553a890
commit
de7f0a1193
2 files changed
+1
-1
No files matched your search
+1
-1
@@ -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 />;
|
||||
File renamed without changes.
Reference in new issue
Block a user