mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-25 04:19:54 -05:00
Format code for PR submission (#2150)
This commit is contained in:
@@ -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}`;
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user