diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f25b86f..ab5f4f6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.11' cache: 'pip' cache-dependency-path: backend/requirements.txt diff --git a/frontend/src/pages/Login.tsx b/frontend/src/pages/Login.tsx index c20a3e1..8273dfb 100644 --- a/frontend/src/pages/Login.tsx +++ b/frontend/src/pages/Login.tsx @@ -4,11 +4,13 @@ import ArrowBackIcon from '@mui/icons-material/ArrowBack'; import { Link } from 'react-router-dom'; import api from '../api'; import { useTitle } from '../hooks/useTitle'; +import { useTranslation } from 'react-i18next'; interface LoginProps { } const Login: React.FC = () => { + const { t } = useTranslation(); useTitle('Login'); const [tab, setTab] = useState(0); const [username, setUsername] = useState(''); @@ -126,7 +128,13 @@ const Login: React.FC = () => { Verify -