diff --git a/app/login.tsx b/app/login.tsx index 1ef2dd4a..a67b3d01 100644 --- a/app/login.tsx +++ b/app/login.tsx @@ -21,14 +21,11 @@ import { } from "react-native"; import { z } from "zod"; - -const { t, i18n } = useTranslation(); - const CredentialsSchema = z.object({ - username: z.string().min(1, t("login.username_required")), -}); + username: z.string().min(1, "Username is required"),}); const Login: React.FC = () => { + const { t } = useTranslation(); const { setServer, login, removeServer, initiateQuickConnect } = useJellyfin(); const [api] = useAtom(apiAtom);