🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
// Fixture: remote read inside useEffect copied into useState.
import { memo, useEffect, useState } from 'react';
import { agentService } from '@/services/agent';
const AgentTitle = memo<{ id: string }>(({ id }) => {
const [title, setTitle] = useState<string>('');
// alint-expect
useEffect(() => {
agentService.getAgentConfig(id).then((config) => setTitle(config.title ?? ''));
}, [id]);
return <span>{title}</span>;
});
export default AgentTitle;