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

@@ -12,7 +12,6 @@ type AlertItemProps = {
const AlertItem = ({ item }: AlertItemProps) => {
const [isModalOpen, setIsModalOpen] = useState(false);
const motionAway = (item?.motion ?? "").toUpperCase() === "AWAY";
const isNPEDHit = item?.metadata?.npedJSON?.status_code === 404;
const isHotListHit = item?.metadata?.hotlistMatches?.Hotlist0 === true;
const handleClick = () => {
@@ -36,13 +35,7 @@ const AlertItem = ({ item }: AlertItemProps) => {
className="h-20 object-contain rounded-md"
/>
)}
{isNPEDHit && (
<img
src={HotListImg}
alt="hotlistHit"
className="h-20 object-contain rounded-md"
/>
)}
<div className="flex flex-col">
<small>MAKE: {item.make}</small>
<small>MODEL: {item.model}</small>