current user username instead of "profile" text
This commit is contained in:
@@ -108,7 +108,7 @@ export default function Blog(props: { disableCustomTheme?: boolean }) {
|
|||||||
color="primary"
|
color="primary"
|
||||||
onClick={() => setShowProfile(true)}
|
onClick={() => setShowProfile(true)}
|
||||||
>
|
>
|
||||||
Profile
|
{currentUser.username}
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user