summaryrefslogtreecommitdiffstats
path: root/src/components/chat_header.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/chat_header.rs')
-rw-r--r--src/components/chat_header.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/chat_header.rs b/src/components/chat_header.rs
index 51906aa..fe4e8d9 100644
--- a/src/components/chat_header.rs
+++ b/src/components/chat_header.rs
@@ -12,9 +12,8 @@ pub fn ChatViewHeader(chat: MacawChat) -> impl IntoView {
view! {
<div class="chat-view-header panel">
{move || {
- let user = chat.user.get().into();
view! {
- <AvatarWithPresence user />
+ <AvatarWithPresence user=chat.user />
}
}}
<div class="user-info">