mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +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