fix
This commit is contained in:
@@ -533,7 +533,7 @@ module.exports = {
|
|||||||
const fileContent = await readFile(file);
|
const fileContent = await readFile(file);
|
||||||
console.log(fileContent);
|
console.log(fileContent);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
alert("Error reading file:", error);
|
console.error("Error reading file:", error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// const extension = file.name.split(".").pop();
|
// const extension = file.name.split(".").pop();
|
||||||
|
|||||||
Reference in New Issue
Block a user