Fix airtime polling cross-message display

This commit is contained in:
Jack Kingsman
2026-02-23 20:33:40 -08:00
parent 5d7a313c53
commit 1a4f57a03e
3 changed files with 131 additions and 0 deletions
+4
View File
@@ -152,6 +152,10 @@ export function useAirtimeTracking(
}
}
// If tracking was stopped while the request was in-flight (e.g. conversation
// switch called stopTracking), discard the stale response.
if (!baselineRef.current) return;
if (telemetry) {
const statsMessage = createLocalMessage(
baseline.conversationId,