change button functions

This commit is contained in:
luisa.bellitto 2025-06-24 13:47:13 +02:00 committed by Rudi Regentonne
parent d0d879336e
commit 8136e95c6a
7 changed files with 88 additions and 33 deletions

View file

@ -30,13 +30,14 @@ function Profile() {
const id = isPopoverOpen ? "simple-popover" : undefined;
const username = "Username12345678"; /* Get username from database */
const ownAccount = false;
return (
<StyledEngineProvider injectFirst>
<div className="profile-display">
<div className="user-info">
<div className="user">
<ChangeAvatarDialog />
<ChangeAvatarDialog ownAccount={ownAccount} username={username} />
<Popover
className="profile-popover"
onClose={closePopover}
@ -58,7 +59,7 @@ function Profile() {
{username}
</span>
</div>
<Bio/>
<Bio ownAccount={ownAccount}/>
<Divider variant="middle" className="divider" />
{/* TODO: Change data to data from Database */}
<div className="numeral-data">