This commit is contained in:
Abhimanue committed 2024-10-13 00:13:52 +05:30
commit 684f92a0e6
2 files changed
+2 -9

No files matched your search

+2 -1
View File
@@ -74,6 +74,7 @@ const Field = forwardRef(
"&:has(.input-error) .MuiOutlinedInput-root fieldset": { "&:has(.input-error) .MuiOutlinedInput-root fieldset": {
borderColor: theme.palette.error.text, borderColor: theme.palette.error.text,
}, },
display: hidden ? "none" : "",
}} }}
> >
{label && ( {label && (
@@ -142,7 +143,7 @@ const Field = forwardRef(
}, },
} }
: { : {
display: hidden ? "none" : "",
} }
} }
InputProps={{ InputProps={{
@@ -469,14 +469,6 @@ const ProfilePanel = () => {
gap={theme.spacing(5)} gap={theme.spacing(5)}
justifyContent="flex-end" justifyContent="flex-end"
> >
<Button
variant="outlined"
color="secondary"
disabled
sx={{ mr: "auto" }}
>
Edit
</Button>
<Button variant="text" color="info" onClick={removePicture}> <Button variant="text" color="info" onClick={removePicture}>
Remove Remove
</Button> </Button>