Update network-metrics.tsx

This commit is contained in:
MacRimi
2025-11-19 22:05:45 +01:00
parent 6e78fa0b1f
commit 08b59dd082

View File

@@ -207,12 +207,12 @@ export function NetworkMetrics() {
}
const trafficInFormatted = formatNetworkTraffic(
networkUnit === "Bits" ? networkTotals.received * 8 * 1024 ** 3 : networkTotals.received * 1024 ** 3,
networkTotals.received * 1024 ** 3,
networkUnit,
2
)
const trafficOutFormatted = formatNetworkTraffic(
networkUnit === "Bits" ? networkTotals.sent * 8 * 1024 ** 3 : networkTotals.sent * 1024 ** 3,
networkTotals.sent * 1024 ** 3,
networkUnit,
2
)