From ed9584bbac5764d686421407f22c561bfca5c1e2 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 13 Oct 2020 09:55:03 +0100 Subject: [PATCH] Comment scoping block --- src/components/structures/RoomView.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/RoomView.tsx b/src/components/structures/RoomView.tsx index 8b90b6b810..f03b39ff52 100644 --- a/src/components/structures/RoomView.tsx +++ b/src/components/structures/RoomView.tsx @@ -1740,6 +1740,7 @@ export default class RoomView extends React.Component { let activeCall = null; { + // New block because this variable doesn't need to hang around for the rest of the function const call = this.getCallForRoom(); if (call && (this.state.callState !== 'ended' && this.state.callState !== 'ringing')) { activeCall = call;