import { useTranslation } from "@/hooks/useTranslation"; import { getModelDisplayName } from "@/lib/modelNames"; interface GuessResultProps { aiGuess: string; isCorrect: boolean; onNextRound: () => void; model?: string; } export const GuessResult = ({ aiGuess, isCorrect, onNextRound, model }: GuessResultProps) => { const t = useTranslation(); return (
{t.guess.aiGuessedDescription.prefix}{" "} {model ? getModelDisplayName(model) : t.guess.aiGuessedDescription.aiName}{" "} {t.guess.aiGuessedDescription.suffix}
{aiGuess}