import { useEffect, useState } from "react"; import { useTranslation } from "@/hooks/useTranslation"; interface WordDisplayProps { currentWord: string; } export const WordDisplay = ({ currentWord }: WordDisplayProps) => { const t = useTranslation(); return (
{t.game.describeWord}
{currentWord}