fix: compilation errors in Button component and App.rs

This commit is contained in:
spinline
2026-01-31 13:51:01 +03:00
parent 63128f8501
commit 63ccf430de
2 changed files with 3 additions and 3 deletions

View File

@@ -622,7 +622,7 @@ pub fn App() -> impl IntoView {
</div>
</div>
<div class="flex gap-3">
<Button class="flex-1" on_click=Callback::from(move |_| add_torrent())>
<Button class="flex-1" on_click=Callback::from(move |e| add_torrent(e))>
"Add Download"
</Button>
</div>