From 17551af8b5ef190e2d7c3280e9a585da91793b5c Mon Sep 17 00:00:00 2001 From: spinline Date: Thu, 5 Feb 2026 22:52:47 +0300 Subject: [PATCH] fix: remove on:close event from add torrent modal to prevent callback panic - Dialog's on:close was calling callback after scope disposal - Caused 'could not get stored value' error in leptos_reactive - on_close callback still properly called via handle_close and submit success --- frontend/src/components/torrent/add_torrent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/torrent/add_torrent.rs b/frontend/src/components/torrent/add_torrent.rs index 03d6c4a..ac7b50e 100644 --- a/frontend/src/components/torrent/add_torrent.rs +++ b/frontend/src/components/torrent/add_torrent.rs @@ -89,7 +89,7 @@ pub fn AddTorrentModal( }; view! { - +