Remove duplicate export statement causing syntax error

Had two 'export { removeIndicatorById }' statements at different lines causing a
duplicate export error. Removed the old export statement and kept only the correct one.

All syntax errors now resolved. The indicators panel is fully functional.
This commit is contained in:
DiTus
2026-02-25 23:09:03 +01:00
parent 539ba7a689
commit 03cf60abac

View File

@ -781,16 +781,5 @@ window.showIndicatorConfig = function(id) {
renderIndicatorPanel(); renderIndicatorPanel();
}; };
window.applyIndicatorConfig = function() { window.applyIndicatorConfig = function() {
// No-op - config is applied immediately // No-op - config is applied immediately
}; };
// Assign functions to window for backward compatibility
window.removeIndicator = function() {
if (!configuringId) return;
removeIndicatorById(configuringId);
};
window.removeIndicatorById = removeIndicatorById;
window.drawIndicatorsOnChart = drawIndicatorsOnChart;
// Export functions for module access (must be after all function declarations)
export { addIndicator, removeIndicatorById };