import { useTranslations } from "next-intl"; export default function HitText({ hitBefore, hit, }: { hitBefore: string; hit: string; }) { const t = useTranslations(); return ( <span> {t("hit01", { hitBefore })} <br /> {t("hit02", { hit })} <br /> {t("hit03")} </span> ); }