From 610570c79507ab780d0bf3fd17c85fc7d4117828 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 28 Oct 2022 10:40:20 +0200 Subject: [PATCH] Prefix setInterval with window Use the patch from https://github.com/NixOS/nixpkgs/pull/119132 Signed-off-by: Thomas Citharel --- js/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/App.vue b/js/src/App.vue index 024eddd40..0fe8e4987 100644 --- a/js/src/App.vue +++ b/js/src/App.vue @@ -123,7 +123,7 @@ const interval = ref(0); const notifier = inject("notifier"); -interval.value = setInterval(async () => { +interval.value = window.setInterval(async () => { const accessToken = localStorage.getItem(AUTH_ACCESS_TOKEN); if (accessToken) { const token = jwt_decode(accessToken);