refactor public status page

This commit is contained in:
Alex Holliday committed 2025-02-04 13:06:42 -08:00
1 parent cc8d4bc98c
commit dc3fc7628a
15 files changed
+605 -53

No files matched your search

@@ -47,19 +47,6 @@ const Content = ({
direction="row"
justifyContent="space-between"
>
{/* <Typography
component="p"
alignSelf={"center"}
>
{" "}
Servers list{" "}
</Typography>
<Button
variant="contained"
color="accent"
>
Add new
</Button> */}
<Search
options={monitors}
multiple={true}
@@ -11,6 +11,7 @@ import Progress from "../Progress";
// Utils
import { useTheme } from "@emotion/react";
import timezones from "../../../../../Utils/timezones.json";
import { memo } from "react";
const TabSettings = ({
tabValue,
@@ -101,7 +102,7 @@ const TabSettings = ({
<Stack gap={theme.spacing(6)}>
<ImageField
id="logo"
src={form.logo?.src}
src={form?.logo?.src}
isRound={false}
onChange={handleImageChange}
/>
@@ -6,6 +6,7 @@ import Content from "./Content";
// Utils
import PropTypes from "prop-types";
const Tabs = ({
form,
errors,
@@ -70,7 +71,7 @@ Tabs.propTypes = {
setSelectedMonitors: PropTypes.func,
handleFormChange: PropTypes.func,
handleImageChange: PropTypes.func,
progress: PropTypes.number,
progress: PropTypes.object,
removeLogo: PropTypes.func,
tab: PropTypes.number,
setTab: PropTypes.func,