import { useTranslation } from "react-i18next"; import { Image } from "~/components/Image"; import { InfoPopover } from "~/components/InfoPopover"; import { addFriendCodeSchema } from "~/features/sendouq/q-schemas"; import { SendouForm } from "~/form/SendouForm"; import { navIconUrl, SENDOUQ_PAGE } from "~/utils/urls"; const FC_INFO_IMAGE_URL = navIconUrl("fc-info"); export function FriendCodeInput({ friendCode, }: { friendCode?: string | null; }) { const { t } = useTranslation(["common"]); if (friendCode) { return