From 9b96b927d1eca77636c9259c70712ba5f2b4feb6 Mon Sep 17 00:00:00 2001 From: mroxso <24775431+mroxso@users.noreply.github.com> Date: Mon, 5 Aug 2024 00:12:37 +0200 Subject: [PATCH] rm not needed alert when image has been uploaded --- lumina/components/UploadComponent.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/lumina/components/UploadComponent.tsx b/lumina/components/UploadComponent.tsx index 96b8a81..3fcb0da 100644 --- a/lumina/components/UploadComponent.tsx +++ b/lumina/components/UploadComponent.tsx @@ -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());