Fix: Type errors and linter warnings

This commit is contained in:
ajaysi committed 2026-03-03 18:20:48 +05:30
1 parent 6fefbf1121
commit 1e95198ec9
2 files changed
+2 -2

No files matched your search

@@ -41,7 +41,7 @@ const TeamHuddleWidget: React.FC = () => {
return runs.slice(0, 5).map((run) => {
const agentType = String(run.agent_type || 'strategy');
// Simple heuristic for icon mapping
let IconComponent = StrategyIcon;
let IconComponent: React.ElementType = StrategyIcon;
for (const key in ICON_BY_AGENT) {
if (agentType.toLowerCase().includes(key)) {
IconComponent = ICON_BY_AGENT[key];