diff options
author | 2025-06-01 20:17:57 +0100 | |
---|---|---|
committer | 2025-06-01 20:17:57 +0100 | |
commit | 33bb7130943b5f74b3b0f08c5e6d8f7c5e54d4c0 (patch) | |
tree | 0617888d360550508ede95aa12c00375cde4e70b /src/components/chats_list.rs | |
parent | 6ee4190a26f32bfa953302ee363ad3bb6c384ebb (diff) | |
download | macaw-web-33bb7130943b5f74b3b0f08c5e6d8f7c5e54d4c0.tar.gz macaw-web-33bb7130943b5f74b3b0f08c5e6d8f7c5e54d4c0.tar.bz2 macaw-web-33bb7130943b5f74b3b0f08c5e6d8f7c5e54d4c0.zip |
feat: switch to leptos-fetch for state management
Diffstat (limited to 'src/components/chats_list.rs')
-rw-r--r-- | src/components/chats_list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/chats_list.rs b/src/components/chats_list.rs index b8cf34c..d520f56 100644 --- a/src/components/chats_list.rs +++ b/src/components/chats_list.rs @@ -73,7 +73,7 @@ pub fn ChatsList() -> impl IntoView { debug!("set the new message"); }); on_cleanup(move || { - if let Some(sub_id) = sub_id.get() { + if let Some(sub_id) = sub_id.get_untracked() { new_messages_signal.write().unsubscribe_all(sub_id); } }); |