fix(ui): remove accidentally duplicated code block in torrent table

This commit is contained in:
spinline
2026-02-04 19:42:48 +03:00
parent 9f44688a4f
commit 3b63aa18ac

View File

@@ -491,15 +491,4 @@ pub fn TorrentTable() -> impl IntoView {
</div>
<Show when=move || menu_visible.get() fallback=|| ()>
<crate::components::context_menu::ContextMenu
visible=true
position=menu_position.get()
torrent_hash=selected_hash.get().unwrap_or_default() // Use selected_hash as source of truth
on_close=Callback::from(move |_| set_menu_visible.set(false))
on_action=Callback::from(on_action)
/>
</Show>
</div>
}
}