Format code for PR submission (#2150)
This commit is contained in:
1 parent
fc1f4fc142
commit
a29282801a
2 files changed
+2
-8
No files matched your search
@@ -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