From c5f297d108853cd7e95926324277aeb002929b36 Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Thu, 5 Dec 2024 11:32:20 +0000 Subject: [PATCH] lint --- src/room/CallEventAudioRenderer.tsx | 6 +++--- src/useAudioContext.test.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/room/CallEventAudioRenderer.tsx b/src/room/CallEventAudioRenderer.tsx index 2d17fbb8..6648536a 100644 --- a/src/room/CallEventAudioRenderer.tsx +++ b/src/room/CallEventAudioRenderer.tsx @@ -59,7 +59,7 @@ export function CallEventAudioRenderer({ useEffect(() => { if (audioEngineRef.current && previousRaisedHandCount < raisedHandCount) { - audioEngineRef.current.playSound("raiseHand"); + void audioEngineRef.current.playSound("raiseHand"); } }, [audioEngineRef, previousRaisedHandCount, raisedHandCount]); @@ -73,7 +73,7 @@ export function CallEventAudioRenderer({ throttle(() => interval(THROTTLE_SOUND_EFFECT_MS)), ) .subscribe(() => { - audioEngineRef.current?.playSound("join"); + void audioEngineRef.current?.playSound("join"); }); const leftSub = vm.memberChanges @@ -85,7 +85,7 @@ export function CallEventAudioRenderer({ throttle(() => interval(THROTTLE_SOUND_EFFECT_MS)), ) .subscribe(() => { - audioEngineRef.current?.playSound("left"); + void audioEngineRef.current?.playSound("left"); }); return (): void => { diff --git a/src/useAudioContext.test.tsx b/src/useAudioContext.test.tsx index 488b0009..30bbb961 100644 --- a/src/useAudioContext.test.tsx +++ b/src/useAudioContext.test.tsx @@ -27,9 +27,9 @@ const TestComponent: FC = () => { } return ( <> - + {/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/} -