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:
@ -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 };
|
|
||||||
Reference in New Issue
Block a user