mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 08:36:21 +01:00
Fix Log in title not working and not localised
This commit is contained in:
parent
f432d2c897
commit
49a8b45438
2 changed files with 2 additions and 1 deletions
1
src/locales/en.po
generated
1
src/locales/en.po
generated
|
@ -1405,6 +1405,7 @@ msgid "Accounts…"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/nav-menu.jsx:315
|
||||
#: src/pages/login.jsx:27
|
||||
#: src/pages/login.jsx:190
|
||||
#: src/pages/status.jsx:837
|
||||
#: src/pages/welcome.jsx:65
|
||||
|
|
|
@ -24,7 +24,7 @@ const { PHANPY_DEFAULT_INSTANCE: DEFAULT_INSTANCE } = import.meta.env;
|
|||
|
||||
function Login() {
|
||||
const { t } = useLingui();
|
||||
useTitle('Log in');
|
||||
useTitle(t`Log in`, '/login');
|
||||
const instanceURLRef = useRef();
|
||||
const cachedInstanceURL = store.local.get('instanceURL');
|
||||
const [uiState, setUIState] = useState('default');
|
||||
|
|
Loading…
Reference in a new issue