|
|
@ -8,7 +8,7 @@ export default function Upload(props) { |
|
|
|
{window.innerWidth < 1000 ? ( |
|
|
|
{window.innerWidth < 1000 ? ( |
|
|
|
<div className="mobile-auth-profile__upload d-flex justify-content-center align-items-center mb-3"> |
|
|
|
<div className="mobile-auth-profile__upload d-flex justify-content-center align-items-center mb-3"> |
|
|
|
<> |
|
|
|
<> |
|
|
|
{parent.state.file === null ? ( |
|
|
|
{isNaN(+parent.state.file) ? ( |
|
|
|
<AddAPhotoIcon |
|
|
|
<AddAPhotoIcon |
|
|
|
style={{ width: 40, height: 40, color: "white" }} |
|
|
|
style={{ width: 40, height: 40, color: "white" }} |
|
|
|
/> |
|
|
|
/> |
|
|
@ -19,7 +19,7 @@ export default function Upload(props) { |
|
|
|
? URL.createObjectURL(parent.state.file) |
|
|
|
? URL.createObjectURL(parent.state.file) |
|
|
|
: window.baseURL + "file/" + parent.state.file |
|
|
|
: window.baseURL + "file/" + parent.state.file |
|
|
|
} |
|
|
|
} |
|
|
|
alt={"کاربر"} |
|
|
|
alt={""} |
|
|
|
/> |
|
|
|
/> |
|
|
|
)} |
|
|
|
)} |
|
|
|
<input |
|
|
|
<input |
|
|
|