import type { Locale } from "@repo/utils/constants" import { useTranslations } from "next-intl" import Image from "next/image" export interface LocaleFlagProps { locale: Locale } export const LocaleFlag: React.FC = (props) => { const { locale } = props const t = useTranslations() return ( <> {`Flag

{t(`locales.${locale}`)}

) }