add follow function and make small style changes

This commit is contained in:
luisa.bellitto 2025-06-29 15:15:48 +02:00 committed by Rudi Regentonne
parent 79e1f4ebe0
commit 9a9724d024
8 changed files with 57 additions and 19 deletions

View file

@ -87,11 +87,9 @@ export default function AvatarDialog({
<Avatar
className="profile-avatar"
alt="Username"
// current code does not work yet
// TODO: If no image is selected, return the image already in the database or undefined
src={imageUrl ? imageUrl : undefined}
>
U
{username && username[0].toUpperCase() || ""}
</Avatar>
</Button>
<Username username={username} />