fix(frontend): leptos 0.8 migration fixes - Callback::run, StoredValue::new_local, traits
Some checks failed
Build MIPS Binary / build (push) Failing after 1m22s
Some checks failed
Build MIPS Binary / build (push) Failing after 1m22s
This commit is contained in:
@@ -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! {
|
||||
|
||||
Reference in New Issue
Block a user