mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-09 12:08:47 +00:00
change button functions
This commit is contained in:
parent
d0d879336e
commit
8136e95c6a
7 changed files with 88 additions and 33 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue