mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-22 20:23:09 +00:00
fix clippy
This commit is contained in:
parent
d749fff11b
commit
2f8d6fb49f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue