Add TODO for future comment

This commit is contained in:
Hugh Nimmo-Smith
2024-11-25 21:51:21 +00:00
parent f43662f1b1
commit 988af08d23

View File

@@ -131,6 +131,7 @@ export const GroupCallView: FC<Props> = ({
const latestDevices = useRef<MediaDevices>();
latestDevices.current = deviceContext;
// TODO: why do we use a ref here instead of using muteStates directly?
const latestMuteStates = useRef<MuteStates>();
latestMuteStates.current = muteStates;