diff options
author | 2025-06-02 21:16:18 +0100 | |
---|---|---|
committer | 2025-06-02 21:16:18 +0100 | |
commit | 4a5aa6579f5184c443ffbe80ce93e0daa0926826 (patch) | |
tree | c1c2e71dc7765403ae0a3670d50eaaf158b24786 /src/components/chat_header.rs | |
parent | ab654372e4d3766c8df17623a6de8922fc2a1960 (diff) | |
download | macaw-web-main.tar.gz macaw-web-main.tar.bz2 macaw-web-main.zip |
Diffstat (limited to 'src/components/chat_header.rs')
-rw-r--r-- | src/components/chat_header.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/chat_header.rs b/src/components/chat_header.rs index ab33d2b..51906aa 100644 --- a/src/components/chat_header.rs +++ b/src/components/chat_header.rs @@ -11,7 +11,12 @@ pub fn ChatViewHeader(chat: MacawChat) -> impl IntoView { view! { <div class="chat-view-header panel"> - <AvatarWithPresence user=chat.user.get().into() /> + {move || { + let user = chat.user.get().into(); + view! { + <AvatarWithPresence user /> + } + }} <div class="user-info"> <h2 class="name">{name}</h2> <h3>{jid}</h3> |