fix: remove unused samplerInterval variable
This commit is contained in:
parent
f7ffb36c41
commit
455c711185
1 changed files with 1 additions and 2 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue