rm not needed alert when image has been uploaded

This commit is contained in:
mroxso
2024-08-05 00:12:37 +02:00
parent ca275289f0
commit 9b96b927d1

View File

@@ -127,8 +127,6 @@ const UploadComponent: React.FC = () => {
let responseText = await res.text();
let responseJson = JSON.parse(responseText);
console.log(responseJson['data']);
alert(responseJson['data'][0]['url']);
// finalFileUrl = responseJson.data.url;
finalFileUrl = responseJson['data'][0]['url']
} else {
alert(await res.text());