🤯 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
import { LinkIcon } from 'lucide-react';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
import { openLinkPullRequestModal } from './LinkPullRequestModal';
import { OverviewRow } from './OverviewRow';
interface LinkPullRequestRowProps {
/** Resolves to the linked `owner/repo#n`. */
onLink: (url: string) => Promise<string | undefined>;
}
/** The repository card's "Link a pull request" action. */
export const LinkPullRequestRow = memo<LinkPullRequestRowProps>(({ onLink }) => {
const { t } = useTranslation('chat');
return (
<OverviewRow
icon={LinkIcon}
value={t('workingPanel.overview.pr.link')}
onClick={() => openLinkPullRequestModal(onLink)}
/>
);
});
LinkPullRequestRow.displayName = 'OverviewLinkPullRequestRow';