diff --git a/src/components/SightingModal/SightingModal.tsx b/src/components/SightingModal/SightingModal.tsx index 4a6167d..71a3bef 100644 --- a/src/components/SightingModal/SightingModal.tsx +++ b/src/components/SightingModal/SightingModal.tsx @@ -49,7 +49,6 @@ const SightingModal = ({ } dispatch({ type: "ADD", payload: sighting }); - toast.success("Sighting successfully added to alert list"); handleClose(); } catch (error) { console.log(error); @@ -80,6 +79,42 @@ const SightingModal = ({ Sighting Details +
+ {onDelete ? ( + + ) : ( + + )} + {onDelete ? ( + + ) : ( + + )} +
@@ -119,13 +154,13 @@ const SightingModal = ({ /> )}
-
+
overview patch -
-
+
{onDelete ? (