@@ -113,17 +113,17 @@ export const NodeDetail = ({ node }: NodeDetailProps) => {
{!!node.deviceMetrics?.batteryLevel && (
{node.deviceMetrics?.batteryLevel > 100
- ?
+ ?
: node.deviceMetrics?.batteryLevel > 80
- ?
+ ?
: node.deviceMetrics?.batteryLevel > 20
- ?
- :
}
+ ?
+ :
}
{node.deviceMetrics?.batteryLevel > 100
? "Charging"
@@ -197,7 +197,7 @@ export const NodeDetail = ({ node }: NodeDetailProps) => {
{!!node.deviceMetrics?.airUtilTx && (
Airtime Util
-
{node.deviceMetrics?.airUtilTx.toPrecision(3)}%
+
{node.deviceMetrics?.airUtilTx.toPrecision(3)}%
)}
@@ -205,7 +205,7 @@ export const NodeDetail = ({ node }: NodeDetailProps) => {
{node.snr !== 0 && (
SNR
-
+
{node.snr}db
{Math.min(Math.max((node.snr + 10) * 5, 0), 100)}%
diff --git a/src/components/PageLayout.tsx b/src/components/PageLayout.tsx
index 673ca78d..5799f8c1 100644
--- a/src/components/PageLayout.tsx
+++ b/src/components/PageLayout.tsx
@@ -112,7 +112,7 @@ export const PageLayout = ({
{rightBar && (