Skip to content

🤯 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.

503 B
Raw Blame
'use client';

import { createModal, type ModalInstance } from '@lobehub/ui';
import { t } from 'i18next';

import AddTaskContent, { type AddTaskContentProps } from './AddTaskContent';

export type { AddTaskContentProps };

export const openAddGoalTaskModal = (props: AddTaskContentProps): ModalInstance =>
  createModal({
    content: <AddTaskContent {...props} />,
    footer: null,
    maskClosable: true,
    title: t('goalProcess.frontier.add', { ns: 'chat' }),
    width: 'min(90%, 560px)',
  });