diff --git a/src/pages/Map.tsx b/src/pages/Map.tsx index 53df0cd4..42cc5fcb 100644 --- a/src/pages/Map.tsx +++ b/src/pages/Map.tsx @@ -7,6 +7,7 @@ import { SidebarButton } from "@components/UI/Sidebar/sidebarButton.js"; import { useAppStore } from "@core/stores/appStore.js"; import { useDevice } from "@core/stores/deviceStore.js"; import { Hashicon } from "@emeraldpay/hashicon-react"; +import { numberToHexUnpadded } from "@noble/curves/abstract/utils"; import { bbox, lineString } from "@turf/turf"; import { BoxSelectIcon, @@ -180,7 +181,8 @@ export const MapPage = (): JSX.Element => {
- {node.user?.longName} + {node.user?.longName || + `!${numberToHexUnpadded(node.num)}`}