mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-06-04 09:41:32 +02:00
rm not needed alert when image has been uploaded
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user