summaryrefslogtreecommitdiffstats
path: root/src/components/chat_header.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-06-11 02:54:27 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2025-06-11 02:54:27 +0100
commit838e99fd1577c52121e148efabcd624114a8b9ad (patch)
treedaaa4e0d00e53a851bf967f668cbc121018d4a5f /src/components/chat_header.rs
parent8bd186fe47eda25b36f945f926ce19093d16fe39 (diff)
downloadmacaw-web-838e99fd1577c52121e148efabcd624114a8b9ad.tar.gz
macaw-web-838e99fd1577c52121e148efabcd624114a8b9ad.tar.bz2
macaw-web-838e99fd1577c52121e148efabcd624114a8b9ad.zip
fmt: everything
Diffstat (limited to 'src/components/chat_header.rs')
-rw-r--r--src/components/chat_header.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/chat_header.rs b/src/components/chat_header.rs
index fe4e8d9..47367dc 100644
--- a/src/components/chat_header.rs
+++ b/src/components/chat_header.rs
@@ -12,15 +12,11 @@ pub fn ChatViewHeader(chat: MacawChat) -> impl IntoView {
view! {
<div class="chat-view-header panel">
{move || {
- view! {
- <AvatarWithPresence user=chat.user />
- }
- }}
- <div class="user-info">
+ view! { <AvatarWithPresence user=chat.user /> }
+ }} <div class="user-info">
<h2 class="name">{name}</h2>
<h3>{jid}</h3>
</div>
</div>
}
}
-