diff --git a/src/app.rs b/src/app.rs index 031236b..52e965b 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1,9 +1,8 @@ -use gloo::console::{console, console_dbg}; use gloo::file::callbacks::FileReader; use gloo::file::File; use gloo::storage::{LocalStorage, Storage}; use std::cell::RefCell; -use std::collections::{self, HashMap}; +use std::collections::HashMap; use std::io::Cursor; use std::rc::Rc; use web_sys::{DragEvent, Event, FileList, HtmlInputElement, MouseEvent}; diff --git a/src/components/generator_picker.rs b/src/components/generator_picker.rs index 0a2340d..3d3e4cf 100644 --- a/src/components/generator_picker.rs +++ b/src/components/generator_picker.rs @@ -1,4 +1,4 @@ -use std::{collections::HashMap, str::FromStr}; +use std::str::FromStr; use web_sys::{Event, HtmlInputElement}; use yew::{html, AttrValue, Callback, Html, TargetCast}; @@ -12,9 +12,9 @@ use crate::{ fn show_dropdown_picker(selected: &str, options: &[AttrValue], onchange: Callback) -> Html { html! { -