diff --git a/src/components/views/voip/CallView.tsx b/src/components/views/voip/CallView.tsx index 501f6bf8d9..47e4f025fe 100644 --- a/src/components/views/voip/CallView.tsx +++ b/src/components/views/voip/CallView.tsx @@ -747,7 +747,7 @@ export default class CallView extends React.Component { mx_CallView_video: true, }); - let presenting; + let toast; if (someoneIsScreensharing) { const presentingClasses = classNames({ mx_CallView_presenting: true, @@ -763,7 +763,7 @@ export default class CallView extends React.Component { : _t("Your camera is still enabled")); } - presenting = ( + toast = (
{ text }
@@ -776,7 +776,7 @@ export default class CallView extends React.Component { ref={this.contentRef} onMouseMove={this.onMouseMove} > - { presenting } + { toast } { sidebar }