fix: remove unused samplerInterval variable

This commit is contained in:
rcourtman 2025-11-27 13:20:58 +00:00
parent f7ffb36c41
commit 455c711185

View file

@ -17,7 +17,6 @@ import { logger } from '@/utils/logger';
const SAMPLE_INTERVAL_MS = 30 * 1000; // 30 seconds
let samplerInterval: number | null = null;
let isRunning = false;
/**
@ -139,7 +138,7 @@ export function startMetricsSampler(): void {
isRunning = true;
// Create interval that checks view mode before sampling
samplerInterval = window.setInterval(() => {
window.setInterval(() => {
const viewMode = getMetricsViewMode();
if (viewMode === 'sparklines') {