Started fixing suborg swapping

This commit is contained in:
frikky
2021-07-27 17:46:20 +02:00
parent a120561744
commit 67453eb9f5
6 changed files with 178 additions and 40 deletions
+5 -1
View File
@@ -932,7 +932,11 @@ const Apps = (props) => {
console.log("Error in dropzone: ", e)
}
reader.readAsText(files[0]);
try {
reader.readAsText(files[0]);
} catch(error) {
alert.error("Failed to read file")
}
};
useEffect(() => {