Added input ref to track file
This commit is contained in:
1 parent
5807990342
commit
d7c1972c99
3 files changed
+127
-122
No files matched your search
@@ -40,7 +40,15 @@ const Avatar = ({ src, small, sx }) => {
|
||||
return (
|
||||
<MuiAvatar
|
||||
alt={`${user?.firstname} ${user?.lastname}`}
|
||||
src={src ? src : user?.profileImage ? image : ""}
|
||||
src={
|
||||
src === null
|
||||
? "/static/images/avatar/2.jpg"
|
||||
: src
|
||||
? src
|
||||
: user?.profileImage
|
||||
? image
|
||||
: "/static/images/avatar/2.jpg"
|
||||
}
|
||||
sx={{
|
||||
fontSize: small ? "12px" : "20px",
|
||||
display: "inline-flex",
|
||||
|
||||
Reference in new issue
Block a user