🤯 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
'use client';
import { createModal, type ModalInstance } from '@lobehub/ui';
import { t } from 'i18next';
import CompareContent, { type CompareContentProps } from './CompareContent';
export type OpenDocumentCompareModalProps = CompareContentProps;
export const openDocumentCompareModal = (props: OpenDocumentCompareModalProps): ModalInstance =>
createModal({
content: <CompareContent {...props} />,
footer: null,
styles: {
content: {
display: 'flex',
height: 'min(72vh, 800px)',
overflow: 'hidden',
padding: 0,
},
},
title: t('pageEditor.history.compareTitle', { ns: 'file' }),
width: 'min(92vw, 1200px)',
});