From 4a5aa6579f5184c443ffbe80ce93e0daa0926826 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Mon, 2 Jun 2025 21:16:18 +0100 Subject: fix: put reactive calls in reactive contexts to update avatar on avatar update --- src/components/chat_header.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/components/chat_header.rs') 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! {
- + {move || { + let user = chat.user.get().into(); + view! { + + } + }}