diff --git a/web-next/app/[locale]/create-account/page.tsx b/web-next/app/[locale]/create-account/page.tsx index 766be76..8fd965c 100644 --- a/web-next/app/[locale]/create-account/page.tsx +++ b/web-next/app/[locale]/create-account/page.tsx @@ -1,6 +1,5 @@ import type { Metadata } from 'next' import { getTranslations, setRequestLocale } from 'next-intl/server' -import { Link } from '@/i18n/navigation' import { getSession } from '@/lib/session' import { PageShell } from '@/components/PageShell' import { RegisterForm } from './RegisterForm' @@ -43,7 +42,10 @@ export default async function CreateAccountPage({ params }: { params: Promise<{ <>

{t('alreadyLogged')}


-

{t.rich('alreadyLoggedCreate', { logout: (c) => {c} })}

+ {/* `` plano, NUNCA : /log-out es un GET que destruye la sesión, + y lo prefetcharía al entrar en pantalla, cerrándola sola sin + que nadie pulse. SiteHeader lo enlaza así por lo mismo. */} +

{t.rich('alreadyLoggedCreate', { logout: (c) => {c} })}

) : ( diff --git a/web-next/app/[locale]/log-in/page.tsx b/web-next/app/[locale]/log-in/page.tsx index 77dc5a4..b01fdfa 100644 --- a/web-next/app/[locale]/log-in/page.tsx +++ b/web-next/app/[locale]/log-in/page.tsx @@ -22,7 +22,10 @@ export default async function LoginPage({ params }: { params: Promise<{ locale:

{t('alreadyLogged')}


-

{t.rich('alreadyLoggedOther', { logout: (c) => {c} })}

+ {/* `` plano, NUNCA : /log-out es un GET que destruye la sesión, + y lo prefetcharía al entrar en pantalla, cerrándola sola sin + que nadie pulse. SiteHeader lo enlaza así por lo mismo. */} +

{t.rich('alreadyLoggedOther', { logout: (c) => {c} })}