mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
unslot placeholder data
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user