diff --git a/apps/scandic-web/components/Auth/TokenRefresher.tsx b/apps/scandic-web/components/Auth/TokenRefresher.tsx index 361947679..30caaa7c5 100644 --- a/apps/scandic-web/components/Auth/TokenRefresher.tsx +++ b/apps/scandic-web/components/Auth/TokenRefresher.tsx @@ -24,7 +24,7 @@ export function SessionRefresher() { const session = useSession() const pathname = usePathname() const searchParams = useSearchParams() - const timeoutId = useRef() + const timeoutId = useRef>() // Simple inactivity control. Reset when the URL changes. const stopPreRefreshAt = useMemo(