From 4120f3412001a5424f96efad264ba5e8898a282c Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 19 Sep 2023 12:43:02 +0200 Subject: [PATCH] grammar... Signed-off-by: Timo K --- src/livekit/MediaDevicesContext.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/livekit/MediaDevicesContext.tsx b/src/livekit/MediaDevicesContext.tsx index 461d87ea..fdd44a6b 100644 --- a/src/livekit/MediaDevicesContext.tsx +++ b/src/livekit/MediaDevicesContext.tsx @@ -123,7 +123,7 @@ interface Props { } export const MediaDevicesProvider: FC = ({ children }) => { - // Counts the number of callers currently using device names + // Counts the number of callers currently using device names. const [numCallersUsingNames, setNumCallersUsingNames] = useState(0); const usingNames = numCallersUsingNames > 0; @@ -162,7 +162,7 @@ export const MediaDevicesProvider: FC = ({ children }) => { useEffect(() => { // Skip setting state for ff output. Redundent since it is set to always return 'undefined' - // But makes it clear while debugging that this is not happening on FF. + perf ;) + // but makes it clear while debugging that this is not happening on FF. + perf ;) if (audioOutput.selectedId !== undefined && !isFireFox()) setAudioOutputSetting(audioOutput.selectedId); }, [setAudioOutputSetting, audioOutput.selectedId]);