unslot placeholder data

This commit is contained in:
legop3
2026-06-03 12:22:53 -04:00
parent dd7e685934
commit 51863c4d11
4 changed files with 127 additions and 127 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11,7 +11,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
<title>Roomba Rover</title>
<script type="module" crossorigin src="/assets/index-B5dcDBYS.js"></script>
<script type="module" crossorigin src="/assets/index-Ctz62ozz.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Ci1EF4ZU.css">
</head>
<body>
@@ -250,7 +250,7 @@ function warningMessages(stats) {
export default function PiHostStatsCard() {
const roverId = useSessionSelector((state) => state.session?.assignment?.roverId ?? null);
const frame = useTelemetryFrame(roverId);
const stats = frame?.hostStats || PLACEHOLDER_STATS;
const stats = frame?.hostStats || EMPTY_STATS;
const wifi = stats.wifi || EMPTY_WIFI;
const warnings = warningMessages(stats);
const wifiQuality = wifiQualityPercent(wifi);