Show app version on login
This commit is contained in:
@@ -4,6 +4,7 @@ import { useAuth } from '../../contexts/AuthContext';
|
||||
import { Download, PenTool } from 'lucide-react';
|
||||
import toast from 'react-hot-toast';
|
||||
import { SESSION_EXPIRED_MESSAGE, translateApiError } from '../../utils/session';
|
||||
import packageInfo from '../../../package.json';
|
||||
|
||||
export default function LoginPage() {
|
||||
const { login } = useAuth();
|
||||
@@ -83,6 +84,7 @@ export default function LoginPage() {
|
||||
<p className="auth-link">
|
||||
¿No tienes cuenta? <Link to="/register">Registrarse</Link>
|
||||
</p>
|
||||
<p className="auth-version">Versión {packageInfo.version}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user