mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-18 18:59:23 +00:00
lint
This commit is contained in:
@@ -358,7 +358,7 @@ export const InCallView: FC<InCallViewProps> = ({
|
|||||||
|
|
||||||
// We need to set the proper timings on the animation based upon the sound length.
|
// We need to set the proper timings on the animation based upon the sound length.
|
||||||
const ringDuration = pickupPhaseAudio?.soundDuration["waiting"] ?? 1;
|
const ringDuration = pickupPhaseAudio?.soundDuration["waiting"] ?? 1;
|
||||||
useEffect(() => {
|
useEffect((): (() => void) => {
|
||||||
// The CSS animation includes the delay, so we must double the length of the sound.
|
// The CSS animation includes the delay, so we must double the length of the sound.
|
||||||
window.document.body.style.setProperty(
|
window.document.body.style.setProperty(
|
||||||
"--call-ring-duration-s",
|
"--call-ring-duration-s",
|
||||||
|
|||||||
Reference in New Issue
Block a user