Fix incorrect use of operator build error.

This commit is contained in:
Tom Fifield
2024-05-27 21:02:42 +08:00
parent 569c2daa09
commit 452f2581e2

View File

@@ -26,7 +26,7 @@ export const TraceRoute = ({
<span className="ml-4 border-l-2 border-l-backgroundPrimary pl-2 text-textPrimary">
{to?.user?.longName}
{route.map((hop) => (
nodes.get(hop)?.user?.longName + "↔" ?? "Unknown↔"
(nodes.get(hop)?.user?.longName ?? "Unknown↔") + "↔"
))}
{from?.user?.longName}
</span>