import type React from "react"; import { LocateIcon, majorScale, minorScale, Pane, Text } from "evergreen-ui"; import { toMGRS } from "@app/core/utils/toMGRS.js"; import type { Protobuf } from "@meshtastic/meshtasticjs"; export interface LocationMessageProps { location: Protobuf.Location; } export const LocationMessage = ({ location, }: LocationMessageProps): JSX.Element => { return ( {toMGRS(location.latitudeI, location.longitudeI)} ); };