From 2b107af73c32c948c2021c02bff0b2cf9af301ec Mon Sep 17 00:00:00 2001 From: Guillermo Arrieta Medina Date: Thu, 25 Dec 2025 20:09:28 -0600 Subject: [PATCH] lint arreglado en dos archivos --- src/components/auth/LoginCard.tsx | 17 +++++++---------- src/routes/login.tsx | 3 ++- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/components/auth/LoginCard.tsx b/src/components/auth/LoginCard.tsx index 107dbef..13d4204 100644 --- a/src/components/auth/LoginCard.tsx +++ b/src/components/auth/LoginCard.tsx @@ -1,27 +1,24 @@ import { useState } from 'react' -import { LoginTabs } from './LoginTabs.tsx' -import { InternalLoginForm } from './InternalLoginForm.tsx' + import { ExternalLoginForm } from './ExternalLoginForm.tsx' +import { InternalLoginForm } from './InternalLoginForm.tsx' +import { LoginTabs } from './LoginTabs.tsx' export function LoginCard() { const [type, setType] = useState<'internal' | 'external'>('internal') return ( -
-

+
+

Iniciar sesión

-

+

Accede al Sistema de Planes de Estudio

- {type === 'internal' ? ( - - ) : ( - - )} + {type === 'internal' ? : }
) } diff --git a/src/routes/login.tsx b/src/routes/login.tsx index aad87c1..ec1d416 100644 --- a/src/routes/login.tsx +++ b/src/routes/login.tsx @@ -1,4 +1,5 @@ import { createFileRoute } from '@tanstack/react-router' + import { LoginCard } from '@/components/auth/LoginCard' export const Route = createFileRoute('/login')({ @@ -7,7 +8,7 @@ export const Route = createFileRoute('/login')({ function LoginPage() { return ( -
+
)