Skip to content

Commit 079e606

Browse files
committed
Biome
1 parent 379ac46 commit 079e606

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/pages/Nodes.tsx

+7-6
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ const NodesPage = (): JSX.Element => {
108108
{node.user?.shortName ??
109109
(node.user?.macaddr
110110
? `${base16
111-
.stringify(node.user?.macaddr.subarray(4, 6) ?? [])
112-
.toLowerCase()}`
111+
.stringify(node.user?.macaddr.subarray(4, 6) ?? [])
112+
.toLowerCase()}`
113113
: `${numberToHexUnpadded(node.num).slice(-4)}`)}
114114
</h1>,
115115

@@ -121,8 +121,8 @@ const NodesPage = (): JSX.Element => {
121121
{node.user?.longName ??
122122
(node.user?.macaddr
123123
? `Meshtastic ${base16
124-
.stringify(node.user?.macaddr.subarray(4, 6) ?? [])
125-
.toLowerCase()}`
124+
.stringify(node.user?.macaddr.subarray(4, 6) ?? [])
125+
.toLowerCase()}`
126126
: `!${numberToHexUnpadded(node.num)}`)}
127127
</h1>,
128128

@@ -158,8 +158,9 @@ const NodesPage = (): JSX.Element => {
158158
{node.lastHeard !== 0
159159
? node.viaMqtt === false && node.hopsAway === 0
160160
? "Direct"
161-
: `${node.hopsAway.toString()} ${node.hopsAway > 1 ? "hops" : "hop"
162-
} away`
161+
: `${node.hopsAway.toString()} ${
162+
node.hopsAway > 1 ? "hops" : "hop"
163+
} away`
163164
: "-"}
164165
{node.viaMqtt === true ? ", via MQTT" : ""}
165166
</Mono>,

0 commit comments

Comments
 (0)