diff --git a/Client/src/Components/TabPanels/Status/GeneralSettingsPanel.jsx b/Client/src/Components/TabPanels/Status/GeneralSettingsPanel.jsx index 3a91f9e25..f2a37229f 100644 --- a/Client/src/Components/TabPanels/Status/GeneralSettingsPanel.jsx +++ b/Client/src/Components/TabPanels/Status/GeneralSettingsPanel.jsx @@ -3,11 +3,9 @@ import { Button, Box, Stack, Typography } from "@mui/material"; import { ConfigBox } from "../../../Pages/Settings/styled"; import Checkbox from "../../Inputs/Checkbox"; import { useTheme } from "@emotion/react"; -import { useDispatch, useSelector } from "react-redux"; import TabPanel from "@mui/lab/TabPanel"; -import Field from "../../Inputs/Field"; +import TextInput from "../../Inputs/TextInput"; import ImageField from "../../Inputs/Image"; -import { setMode, setTimezone } from "../../../Features/UI/uiSlice"; import timezones from "../../../Utils/timezones.json"; import Select from "../../Inputs/Select" import { logoImageValidation, publicPageGeneralSettingsValidation } from "../../../Validation/validation" @@ -15,10 +13,10 @@ import { buildErrors } from "../../../Validation/error"; import { formatBytes } from "../../../Utils/fileUtils"; import ProgressUpload from "../../ProgressBars"; import ImageIcon from "@mui/icons-material/Image"; +import { HttpAdornment } from "../../Inputs/TextInput/Adornments"; const GeneralSettingsPanel = () => { const theme = useTheme(); - const dispatch = useDispatch(); const [errors, setErrors] = useState({}); const [logo, setLogo] = useState(); const [progress, setProgress] = useState({ value: 0, isLoading: false }); @@ -57,7 +55,7 @@ const GeneralSettingsPanel = () => { setLocalData((prev) => ({ ...prev, logo: logo.src, - })); + })); }; const handleChange = (event) => { @@ -170,7 +168,7 @@ const GeneralSettingsPanel = () => { - { onBlur={handleBlur} error={errors["companyName"]} /> - } + //prefix={"http://uptimegenie.com/"} onChange={handleChange} onBlur={handleBlur} error={errors["url"]} /> - @@ -212,10 +209,9 @@ const GeneralSettingsPanel = () => { items={timezones} error={errors["display-timezone"]} /> - + )} +