Fix syntax error in indicators-panel-new.js
Remove duplicate code lines that were causing SyntaxError
This commit is contained in:
@ -116,10 +116,6 @@ export function renderIndicatorPanel() {
|
|||||||
const cat = CATEGORY_MAP[ind.type] || 'trend';
|
const cat = CATEGORY_MAP[ind.type] || 'trend';
|
||||||
return cat === selectedCategory;
|
return cat === selectedCategory;
|
||||||
});
|
});
|
||||||
if (selectedCategory === 'favorites') return false;
|
|
||||||
const cat = CATEGORY_MAP[ind.type] || 'trend';
|
|
||||||
return cat === selectedCategory;
|
|
||||||
});
|
|
||||||
|
|
||||||
const favoriteIds = new Set(userPresets.favorites || []);
|
const favoriteIds = new Set(userPresets.favorites || []);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user