Skip to content

Commit

Permalink
rm not needed alert when image has been uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
mroxso committed Aug 4, 2024
1 parent ca27528 commit 9b96b92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lumina/components/UploadComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 9b96b92

Please sign in to comment.