From 988af08d23e4939742643920c2361fed7a44375b Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Mon, 25 Nov 2024 21:51:21 +0000 Subject: [PATCH] Add TODO for future comment --- src/room/GroupCallView.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 0fdf2705..b0fa8c69 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -131,6 +131,7 @@ export const GroupCallView: FC = ({ const latestDevices = useRef(); latestDevices.current = deviceContext; + // TODO: why do we use a ref here instead of using muteStates directly? const latestMuteStates = useRef(); latestMuteStates.current = muteStates;