diff --git a/src/routes/applications/[id]/logs/build/_BuildLog.svelte b/src/routes/applications/[id]/logs/build/_BuildLog.svelte index 0803e69de..839621f28 100644 --- a/src/routes/applications/[id]/logs/build/_BuildLog.svelte +++ b/src/routes/applications/[id]/logs/build/_BuildLog.svelte @@ -70,8 +70,8 @@ } } onDestroy(() => { - window.clearInterval(streamInterval); - window.clearInterval(followingInterval); + clearInterval(streamInterval); + clearInterval(followingInterval); }); onMount(async () => { window.scrollTo(0, 0); diff --git a/src/routes/applications/[id]/logs/index.svelte b/src/routes/applications/[id]/logs/index.svelte index a04fca2e3..e558934a0 100644 --- a/src/routes/applications/[id]/logs/index.svelte +++ b/src/routes/applications/[id]/logs/index.svelte @@ -42,8 +42,8 @@ }, 1000); }); onDestroy(() => { - window.clearInterval(loadLogsInterval); - window.clearInterval(followingInterval); + clearInterval(loadLogsInterval); + clearInterval(followingInterval); }); async function loadLogs() { try {