|
@@ -4,7 +4,7 @@ import Avatar from '@mui/material/Avatar';
|
|
|
import AddAPhotoIcon from '@mui/icons-material/AddAPhoto';
|
|
|
import { useEffect } from 'react';
|
|
|
import { useDropzone } from 'react-dropzone';
|
|
|
-import { format,firstLetter,prodBaseURL } from '../../../../../helpers'
|
|
|
+import { format,firstLetter } from '../../../../../helpers'
|
|
|
import { IAuthorizationState } from '../../../../../typescript/redux/authorization/interfaces'
|
|
|
|
|
|
const useStyles = makeStyles({
|
|
@@ -105,7 +105,7 @@ const EditList = (props: IEditList) => {
|
|
|
<AddAPhotoIcon className={classes.addPhoto} fontSize='large' />
|
|
|
<input {...getInputProps()}/>
|
|
|
</div>
|
|
|
- <Avatar alt={name} src={avatarUrl?`${prodBaseURL}/${avatarUrl}`:undefined}
|
|
|
+ <Avatar alt={name} src={avatarUrl?`${avatarUrl}`:undefined}
|
|
|
sx={{ background: color, width: 120, height: 120}}>
|
|
|
{`${firstLetter(name)}${firstLetter(lastName)}`}
|
|
|
</Avatar>
|