redundant check

This commit is contained in:
Rushikesh Tote 2022-06-13 12:05:34 +05:30
parent c8df69a169
commit accf97c38b

View file

@ -171,9 +171,6 @@ function WatchModal({
}, [watchModalView]);
const handleFolderDrop = async (folders: FileList) => {
if (folders.length === 0) {
return;
}
for (let i = 0; i < folders.length; i++) {
const folder: any = folders[i];
const path = (folder.path as string).replace(/\\/g, '/');