debug uploading system

This commit is contained in:
2023-07-19 10:34:46 +03:30
parent 5ca164fdd7
commit 7df12b0f45
3 changed files with 20 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ const UploadSystem = ({
imageSize,
fileType,
fileName,
label,
}) => {
const t = useTranslations();
const fileInputRef = useRef(null);
@@ -39,6 +40,17 @@ const UploadSystem = ({
return (
<Box sx={{ width: imageSize[0], my: 2 }}>
<Typography
margin={2}
sx={{
fontWeight: 500,
fontSize: "1rem",
color: "#a19d9d",
}}
textAlign="center"
>
{label}
</Typography>
{selectedImage === "/images/upload-image.svg" ? (
<Image
width={imageSize[0]}
@@ -84,6 +96,7 @@ const UploadSystem = ({
alignItems: "center",
justifyContent: "center",
}}
onClick={handleClick}
>
<Typography
margin={2}