Skip to content

Commit 0ab767f

Browse files
committed
Fix bug with undefined intervalId
1 parent f41d0e8 commit 0ab767f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contentScripts/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function waitForWhenLive() {
7272
// reusing the same interval
7373
interval.set(() => {
7474
if (isLive()) {
75-
clearInterval(intervalId);
75+
interval.clear();
7676
waitForBonusButton();
7777
}
7878
}, FIVE_SECONDS);

0 commit comments

Comments
 (0)