import { memo } from 'react' import { useTranslation } from 'react-i18next' import { useIsChatMode } from '../hooks' import { useStore } from '../store' import { ClockPlay } from '@/app/components/base/icons/src/vender/line/time' const RunningTitle = () => { const { t } = useTranslation() const isChatMode = useIsChatMode() const historyWorkflowData = useStore(s => s.historyWorkflowData) return (
{isChatMode ? `Test Chat#${historyWorkflowData?.sequence_number}` : `Test Run#${historyWorkflowData?.sequence_number}`} ยท {t('workflow.common.viewOnly')}
) } export default memo(RunningTitle)