Skip to content

Commit f88f3cd

Browse files
committed
Fix clearInterval
1 parent 171099b commit f88f3cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/pages/Tab.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ export default defineComponent({
955955
console.log("[audioPlayer] paused");
956956
this.playing = false;
957957
this.api.pause();
958-
window.clearInterval(updateTimer.current);
958+
window.clearInterval(updateTimer);
959959
});
960960
audioPlayer.addEventListener("ended", () => {
961961
console.log("[audioPlayer] ended");
@@ -968,7 +968,7 @@ export default defineComponent({
968968
} else {
969969
this.playing = false;
970970
this.api.pause();
971-
window.clearInterval(updateTimer.current);
971+
window.clearInterval(updateTimer);
972972
}
973973
});
974974
audioPlayer.addEventListener("volumechange", () => {

0 commit comments

Comments
 (0)