chore: upgrade to react 19 rc

This commit is contained in:
reya
2024-08-12 10:32:20 +07:00
parent da8162069b
commit be16d5c21d
11 changed files with 682 additions and 626 deletions

View File

@@ -36,8 +36,7 @@ pub fn create_tray_panel(account: &str, app: &AppHandle) {
let _ = window.destroy();
};
let mut url = "/panel/".to_owned();
url.push_str(account);
let url = format!("/{}/panel", account);
let window = WebviewWindowBuilder::new(app, "panel", WebviewUrl::App(PathBuf::from(url)))
.title("Panel")