added sound effects, updated svgs and cleaned up bugs

This commit is contained in:
2025-09-22 11:18:14 +01:00
parent eaac668ae9
commit eab7e79d01
14 changed files with 30 additions and 41 deletions

View File

@@ -25,7 +25,7 @@ const SightingModal = ({
const handleAcknowledgeButton = () => {
if (!sighting) {
toast.error("Cannot add sigthing to alert list");
toast.error("Cannot add sighting to alert list");
handleClose();
return;
}
@@ -39,7 +39,6 @@ const SightingModal = ({
const isNPEDHitA = sighting?.metadata?.npedJSON?.["NPED CATEGORY"] === "A";
const isNPEDHitB = sighting?.metadata?.npedJSON?.["NPED CATEGORY"] === "B";
const isNPEDHitC = sighting?.metadata?.npedJSON?.["NPED CATEGORY"] === "C";
const isNPEDHitD = sighting?.metadata?.npedJSON?.["NPED CATEGORY"] === "D";
return (
<>
@@ -88,13 +87,6 @@ const SightingModal = ({
className="h-20 object-contain rounded-md"
/>
)}
{isNPEDHitD && (
<img
src={NPED_CAT_A}
alt="hotlistHit"
className="h-20 object-contain rounded-md"
/>
)}
</div>
<div className="flex flex-col md:flex-row items-center gap-3">
<img