From 64234f863998ead716653633a9fa56edc24aaead Mon Sep 17 00:00:00 2001 From: "MH.Dmitrii" Date: Fri, 2 Oct 2026 17:25:12 +0300 Subject: [PATCH] fix odd if statement --- frontend/src/api/token.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/api/token.ts b/frontend/src/api/token.ts index 0d691bd..d686530 100644 --- a/frontend/src/api/token.ts +++ b/frontend/src/api/token.ts @@ -31,7 +31,9 @@ export function startRefreshTimer(intervalms:number) { } export function stopRefreshTimer() { - if (refreshTimer) clearInterval(refreshTimer); + if (refreshTimer) { + clearInterval(refreshTimer); + } refreshTimer = null; }