Format code for PR submission (#2150)

This commit is contained in:
mohadeseh safari
2025-06-20 19:06:57 -04:00
parent fc1f4fc142
commit a29282801a
2 changed files with 2 additions and 8 deletions
@@ -58,12 +58,7 @@ Controls.propTypes = {
url: PropTypes.string,
};
const ControlsHeader = ({
statusPage,
isPublic,
url,
type = "uptime",
}) => {
const ControlsHeader = ({ statusPage, isPublic, url, type = "uptime" }) => {
const theme = useTheme();
const { t } = useTranslation();
const publicUrl = `/status/uptime/public/${url}`;
+1 -2
View File
@@ -26,8 +26,7 @@ const PublicStatus = () => {
const location = useLocation();
const isAdmin = useIsAdmin();
const [statusPage, monitors, isLoading, networkError] =
useStatusPageFetch(false, url);
const [statusPage, monitors, isLoading, networkError] = useStatusPageFetch(false, url);
// Breadcrumbs
const crumbs = [