fix hashing system, bump wasm-bindgen

This commit is contained in:
Jonathan Kelley committed 2024-03-06 02:00:24 -08:00
1 parent fa04edfed7
commit 95d7012c8d
5 files changed
+28 -26

No files matched your search

+3 -1
View File
@@ -9,7 +9,7 @@ use dioxus::prelude::*;
use dioxus::{html::HasFileData, prelude::dioxus_elements::FileEngine};
fn main() {
LaunchBuilder::desktop().launch(app);
launch(app);
}
struct UploadedFile {
@@ -80,6 +80,8 @@ fn app() -> Element {
"ondragleave": "this.style.backgroundColor='#FFFFFF';",
"ondrop": "this.style.backgroundColor='#FFFFFF';",
id: "drop-zone",
prevent_default: "ondragover",
prevent_default: "ondrop",
ondrop: handle_file_drop,
"Drop files here"
}