import type { CellInfo } from '@/utils/practice' import { knowledgeAreaMap, processMap } from '@/data' interface HintInfoProps { currentCell: CellInfo | undefined } export function HintInfo({ currentCell }: HintInfoProps) { if (!currentCell) return null if (currentCell.type === 'knowledge-area') { const ka = knowledgeAreaMap.get(currentCell.knowledgeAreaId) if (!ka?.tailoringFactors || ka.tailoringFactors.length === 0) { return (
{purpose}
) : (暂无主要作用说明
)}