import type React from "react"; import { useDevice } from "@app/core/providers/useDevice.js"; import { toMGRS } from "@core/utils/toMGRS.js"; import { MapPinIcon } from "@heroicons/react/24/outline"; export interface WaypointMessageProps { waypointID: number; } export const WaypointMessage = ({ waypointID, }: WaypointMessageProps): JSX.Element => { const { waypoints } = useDevice(); const waypoint = waypoints.find((wp) => wp.id === waypointID); return (