Fix Image

This commit is contained in:
2024-07-27 21:06:21 +02:00
parent 627654e0a7
commit eb3516bfb2
6 changed files with 11 additions and 6 deletions
@@ -37,7 +37,7 @@ const Profile: FC<Props> = ({ user, canEdit }) => {
<Grid container spacing={2}>
<Grid item sx={{ display: 'flex', flexGrow: 1, justifyContent: 'center' }}>
<IconButton onClick={() => setImageOpen(true)}>
<Avatar alt={user.username} src={`storage/>${user.image}`} sx={{ width: '100px', height: '100px' }}>
<Avatar alt={user.username} src={`storage/${user.image}`} sx={{ width: '100px', height: '100px' }}>
<Person sx={{ width: '60px', height: '60px' }} />
</Avatar>
</IconButton>