From 9b57c2dc3eecdba7c60fdc768b709970fc82685a Mon Sep 17 00:00:00 2001 From: Miguel Romero Karam Date: Wed, 22 May 2024 23:12:55 +0200 Subject: [PATCH] 0.5.45 --- lib/cli/src/version.ts | 2 +- lib/plugins/auth/islands/auth-form.tsx | 20 +++++++++----------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/lib/cli/src/version.ts b/lib/cli/src/version.ts index 2486300d..20054fbc 100644 --- a/lib/cli/src/version.ts +++ b/lib/cli/src/version.ts @@ -1,5 +1,5 @@ // latest version of netzo/cli (see https://github.com/netzo/netzo/releases) -export const VERSION = "0.5.44"; +export const VERSION = "0.5.45"; // minimum version of Deno required to run this CLI // (see https://github.com/denoland/deployctl/blob/main/src/version.ts) diff --git a/lib/plugins/auth/islands/auth-form.tsx b/lib/plugins/auth/islands/auth-form.tsx index 8c5e4d3b..6a3a471e 100644 --- a/lib/plugins/auth/islands/auth-form.tsx +++ b/lib/plugins/auth/islands/auth-form.tsx @@ -28,19 +28,17 @@ export function AuthForm(props: AuthFormProps) { const showDivider = hasEmail && hasOAuth2; const i18n = ({ - emailButton: { - en: "Sign In with Email", - es: "Inicia sesión con Email", + en: { + emailButton: "Sign In with Email", + text: "Sign In with", + divider: "Or continue with", }, - text: { - en: "Sign In with", - es: "Inicia sesión con", + es: { + emailButton: "Inicia sesión con Email", + text: "Inicia sesión con", + divider: "O continua con", }, - divider: { - en: "Or continue with", - es: "O continua con", - }, - })[props.config.locale ?? "es"]; + })?.[props.config.locale ?? "es"]!; return ( <>