diff --git a/.env.local b/.env.local
index cdf567e..5238379 100644
--- a/.env.local
+++ b/.env.local
@@ -10,7 +10,7 @@ VITE_API_URL = "http://localhost:8000/api/v1"
# PO Url
# ------
VITE_PO_URL = "https://world.openfoodfacts.org"
-VITE_PO_DELETE_IMAGES_URL = "https://world.openfoodfacts.net/cgi/product_image_move.pl"
+VITE_PO_DELETE_IMAGES_URL = "https://world.openfoodfacts.localhost/cgi/product_image_move.pl"
# PO Url for images
# ------
diff --git a/src/components/DeleteButton.tsx b/src/components/DeleteButton.tsx
index 28414ac..1108e12 100644
--- a/src/components/DeleteButton.tsx
+++ b/src/components/DeleteButton.tsx
@@ -1,4 +1,4 @@
-import IconButton from '@mui/material/IconButton';
+import Button from '@mui/material/Button';
import DeleteIcon from '@mui/icons-material/Delete';
import CheckIcon from '@mui/icons-material/Check';
import { useState } from 'react';
@@ -27,13 +27,24 @@ const DeleteButton = ({ barcode, imgids }: DeleteButtonProps) => {
}
return (
-
+
+ :
+
+ }
+ onClick={handleDelete}
+ variant='contained'
+ >
{ isConfirmed ?
-
- :
-
+ "confirm"
+ :
+ "delete"
}
-
+
)
}
diff --git a/src/components/InfoModal.tsx b/src/components/InfoModal.tsx
index 64f8c44..e8a927d 100644
--- a/src/components/InfoModal.tsx
+++ b/src/components/InfoModal.tsx
@@ -145,7 +145,7 @@ export default function ModalInfo({barcode}: ModalInfoProps) {
{Object.keys(ticketInfo.images).map((key) => (
-
+