diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index 69ae06db..5cb89061 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -358,7 +358,7 @@ export const InCallView: FC = ({ // We need to set the proper timings on the animation based upon the sound length. const ringDuration = pickupPhaseAudio?.soundDuration["waiting"] ?? 1; - useEffect(() => { + useEffect((): (() => void) => { // The CSS animation includes the delay, so we must double the length of the sound. window.document.body.style.setProperty( "--call-ring-duration-s",