import { CompaniesWorkspace } from "@metis/companies/client"; import { IdentityWorkspace } from "@metis/identity/client"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@repo/shadcn-ui/components/select"; import { useId, useState } from "react"; import { useTranslation } from "react-i18next"; export function App() { const { t, i18n } = useTranslation("core"); const languageOptions = ["es", "en"].map((value) => ({ value, label: t(`languageNames.${value}`), })); const [languageError, setLanguageError] = useState(false); const languageLabelId = useId(); return (
{t("languageError")}
)}