Skip to content

Commit 2f78b64

Browse files
fix(nodes): correct singular hop label in connection status (#1055)
1 parent 9a48205 commit 2f78b64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/web/src/pages/Nodes/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const NodesPage = (): JSX.Element => {
165165
? node?.viaMqtt === false && node.hopsAway === 0
166166
? t("nodesTable.connectionStatus.direct")
167167
: `${node.hopsAway?.toString()} ${
168-
(node.hopsAway ?? 0 > 1) ? t("unit.hop.plural") : t("unit.hops_one")
168+
(node.hopsAway ?? 0) > 1 ? t("unit.hop.plural") : t("unit.hop.one")
169169
} ${t("nodesTable.connectionStatus.away")}`
170170
: t("unknown.longName")}
171171
{node?.viaMqtt === true ? t("nodesTable.connectionStatus.viaMqtt") : ""}

0 commit comments

Comments
 (0)