Fix: Move console.log after activeIndicators declaration

Fixes ReferenceError from trying to access variable before initialization
This commit is contained in:
DiTus
2026-02-26 15:02:43 +01:00
parent aea7a4573e
commit 437cd27bd9

View File

@ -1,9 +1,9 @@
import { getAvailableIndicators, IndicatorRegistry as IR } from '../indicators/index.js'; import { getAvailableIndicators, IndicatorRegistry as IR } from '../indicators/index.js';
console.log('[Module] indicators-panel-new.js loaded - activeIndicators count:', activeIndicators?.length || 0);
// State management // State management
let activeIndicators = []; let activeIndicators = [];
console.log('[Module] indicators-panel-new.js loaded - activeIndicators count:', activeIndicators?.length || 0);
let configuringId = null; let configuringId = null;
let searchQuery = ''; let searchQuery = '';
let selectedCategory = 'all'; let selectedCategory = 'all';