fix clippy

This commit is contained in:
Evan Almloff 2023-04-25 15:07:22 -05:00
parent d749fff11b
commit 2f8d6fb49f

View file

@ -19,7 +19,7 @@ fn App(cx: Scope) -> Element {
if let Some(file_engine) = &evt.files {
let files = file_engine.files();
for file_name in &files {
if let Some(file) = file_engine.read_file_to_string(&file_name).await{
if let Some(file) = file_engine.read_file_to_string(file_name).await{
files_uploaded.write().push(file);
}
}