mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-14 20:06:27 +03:00
fix eslint warnings
This commit is contained in:
@@ -39,7 +39,7 @@ const DragNdrop = ({ onFileSelected }) => {
|
||||
event.preventDefault();
|
||||
const droppedFiles = event.dataTransfer.files;
|
||||
if (droppedFiles.length > 0) {
|
||||
checkFileExtension(droppedFiles[0]);
|
||||
checkFileExtension(droppedFiles[0] as File);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user