'use client' import type { FC } from 'react' import { memo } from 'react' import { useTranslation } from 'react-i18next' import { RiArrowLeftLine, } from '@remixicon/react' import TracingPanel from './tracing-panel' import type { NodeTracing } from '@/types/workflow' type Props = { list: NodeTracing[] onBack: () => void } const RetryResultPanel: FC = ({ list, onBack, }) => { const { t } = useTranslation() return (
{ e.stopPropagation() e.nativeEvent.stopImmediatePropagation() onBack() }} > {t('workflow.singleRun.back')}
({ ...item, title: `${t('workflow.nodes.common.retry.retry')} ${index + 1}`, }))} className='bg-background-section-burn' />
) } export default memo(RetryResultPanel)