diff --git a/client/src/components/PopupMessage.tsx b/client/src/components/PopupMessage.tsx index 50d8716..71c501d 100644 --- a/client/src/components/PopupMessage.tsx +++ b/client/src/components/PopupMessage.tsx @@ -1,28 +1,27 @@ -import { useState } from "react"; -import { FaEllipsisH } from "react-icons/fa"; +import { useState } from 'react'; +import { FaEllipsisH } from 'react-icons/fa'; -const PopupMessage = ({id}: {id: string}) => { +const PopupMessage = ({ id }: { id: string }) => { const [show, setShow] = useState(false); - const handleClose = () => { - setShow(false); - }; - return ( -
-
setShow(!show)}> - -
- {show && ( -
-
-
Edit
-
Delete
-
+ <> +
+
setShow(!show)} + > +
- )} -
+
+
+
+
Modifier
+
Supprimer
+
+
+ ); }; -export default PopupMessage; \ No newline at end of file +export default PopupMessage;