mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-19 06:20:25 +00:00
lint
This commit is contained in:
@@ -71,7 +71,7 @@ function playSoundLooping(
|
||||
controls.setPlaybackStarted();
|
||||
src.loop = true;
|
||||
src.start();
|
||||
return () => {
|
||||
return async () => {
|
||||
const p = new Promise<void>((r) =>
|
||||
src.addEventListener("ended", () => r()),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user