From 9be3ce928fb358144a193f1a978a88165779847d Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 5 Nov 2020 09:47:09 +0000 Subject: [PATCH] explicitly retuen null and also sort out formatting from a different time --- src/CallHandler.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/CallHandler.tsx b/src/CallHandler.tsx index 5fb7197283..aefa66ecc5 100644 --- a/src/CallHandler.tsx +++ b/src/CallHandler.tsx @@ -103,8 +103,11 @@ function getRemoteAudioElement(): HTMLAudioElement { // Might as well just use DOM. const remoteAudioElement = document.getElementById("remoteAudio") as HTMLAudioElement; if (!remoteAudioElement) { - console.error("Failed to find remoteAudio element - cannot play audio!" - + "You need to add an