move and rename watchparty reporter

This commit is contained in:
Pas 2025-07-10 11:33:43 -06:00
parent cfcca03d69
commit 0399276c4f

View file

@ -19,7 +19,7 @@ export const emitValidationStatus = (success: boolean) => {
/**
* Component that sends player status to the backend when watch party is enabled
*/
export function WebhookReporter() {
export function WatchPartyReporter() {
const { statusHistory, latestStatus } = usePlayerStatusPolling(5); // Keep last 5 status points
const lastReportTime = useRef<number>(0);
const lastReportedStateRef = useRef<string>("");