diff --git a/src/app.rs b/src/app.rs index 4f2a475..cf4fe0c 100644 --- a/src/app.rs +++ b/src/app.rs @@ -74,7 +74,7 @@ impl eframe::App for BrowseApp { } #[cfg(target_arch = "wasm32")] -fn execute(f: F) -> Option>> +fn execute(f: F) -> SaveLoadPromise where F: std::future::Future> + 'static, {