diff --git a/Client/src/Components/Inputs/Checkbox/index.jsx b/Client/src/Components/Inputs/Checkbox/index.jsx
index 4f308e555..58aff6101 100644
--- a/Client/src/Components/Inputs/Checkbox/index.jsx
+++ b/Client/src/Components/Inputs/Checkbox/index.jsx
@@ -21,7 +21,6 @@ import "./index.css";
* @param {string} [props.value] - Optional value associated with the checkbox
* @param {Function} [props.onChange] - Callback function triggered when checkbox state changes
* @param {boolean} [props.isDisabled] - Determines if the checkbox is disabled
- * @param {boolean} [props.alignSelf] - Whether the checkbox label should be positioned on flex-start.
*
* @returns {React.ReactElement} Rendered Checkbox component
*
@@ -55,12 +54,10 @@ const Checkbox = ({
value,
onChange,
isDisabled,
- alignSelf
}) => {
/* TODO move sizes to theme */
const sizes = { small: "14px", medium: "16px", large: "18px" };
const theme = useTheme();
- const override = alignSelf? { alignSelf: "flex-start" } : {}
return (
}
diff --git a/Client/src/Components/Inputs/Search/index.jsx b/Client/src/Components/Inputs/Search/index.jsx
index bf659a345..56b329500 100644
--- a/Client/src/Components/Inputs/Search/index.jsx
+++ b/Client/src/Components/Inputs/Search/index.jsx
@@ -57,7 +57,7 @@ const Search = ({
disabled,
startAdornment,
endAdornment,
- onBlur
+ onBlur,
}) => {
const theme = useTheme();
return (
@@ -70,15 +70,15 @@ const Search = ({
onInputChange={(_, newValue) => {
handleInputChange(newValue);
}}
- onChange={(e, newValue) => {
- handleChange && handleChange(e, newValue);
+ onChange={(_, newValue) => {
+ handleChange(newValue);
}}
fullWidth
freeSolo
disabled={disabled}
disableClearable
options={options}
- getOptionLabel={(option) => option[filteredBy]??""}
+ getOptionLabel={(option) => option[filteredBy]}
renderInput={(params) => (
{
+export const HttpAdornment = ({ https }) => {
const theme = useTheme();
return (
{
color={theme.palette.primary.contrastTextSecondary}
sx={{ lineHeight: 1, opacity: 0.8 }}
>
- {prefix !== undefined ? prefix : https ? "https://" : "http://"}
+ {https ? "https" : "http"}
);