Fix formatting and styling of profile picture display, as well as display email when logged in as well
This commit is contained in:
@ -42,6 +42,7 @@ pub fn Profile() -> impl IntoView {
|
||||
<h1>Not Logged In</h1>
|
||||
}>
|
||||
<h1>{move || user.get().map(|user| user.map(|user| user.username).unwrap_or_default())}</h1>
|
||||
<h2>{move || user.get().map(|user| user.map(|user| user.email).unwrap_or_default())}</h2>
|
||||
</Show>
|
||||
</div>
|
||||
<div class="profile-icon" on:click=open_dropdown>
|
||||
|
Reference in New Issue
Block a user