From c0b71eb73d832ea660ed0b8aed71e0e56e0bbcaa Mon Sep 17 00:00:00 2001 From: Simon Caron <8635747+simoncaron@users.noreply.github.com> Date: Mon, 30 Dec 2024 21:03:02 -0500 Subject: [PATCH] Revert login message --- app/login.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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);