fix: improve failed upload error handling
This commit is contained in:
@@ -72,7 +72,7 @@ const uploadFile = async (
|
||||
file: File,
|
||||
progressCallBack: (uploadingProgress: number) => void
|
||||
) => {
|
||||
var formData = new FormData();
|
||||
let formData = new FormData();
|
||||
formData.append("file", file);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user