diff --git a/src/src/main.rs b/src/src/main.rs index d7e33c8..18ffa21 100644 --- a/src/src/main.rs +++ b/src/src/main.rs @@ -47,10 +47,13 @@ fn App(cx: Scope) -> Element { r#type: "file", disabled: *processing.get(), onchange: |evt| { - to_owned![file]; if let Some(file_engine) = &evt.files { for f in &file_engine.files() { file.set(f.clone()); + analyze_status.set(String::new()); + clipify_status.set(String::new()); + processing.set(false); + analysis.set(Analysis::new()); } } },