fix(frontend): leptos 0.8 migration fixes - Callback::run, StoredValue::new_local, traits
Some checks failed
Build MIPS Binary / build (push) Failing after 1m22s

This commit is contained in:
spinline
2026-02-09 20:39:23 +03:00
parent e1e8a89579
commit 95a0d59cc4
5 changed files with 15 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ pub fn AddTorrentModal(
if let Some(dialog) = dialog_ref.get() {
dialog.close();
}
on_close.call(());
on_close.run(());
}
Err(e) => {
logging::error!("Failed to add torrent: {:?}", e);
@@ -64,7 +64,7 @@ pub fn AddTorrentModal(
if let Some(dialog) = dialog_ref.get() {
dialog.close();
}
on_close.call(());
on_close.run(());
};
view! {