import { motion } from 'framer-motion' import { DecisionCard } from '../trader/DecisionCard' import type { Language } from '../../i18n/translations' import type { DecisionRecord } from '../../types' interface BacktestDecisionsTabProps { decisions: DecisionRecord[] | undefined language: Language tr: (key: string) => string } export function BacktestDecisionsTab({ decisions, language, tr }: BacktestDecisionsTabProps) { return ( {decisions && decisions.length > 0 ? ( decisions.map((d) => ( )) ) : (
{tr('decisionTrail.emptyHint')}
)}
) }