fix: typo isAuthenticate -> isAuthenticated

This commit is contained in:
2024-02-13 14:07:53 +01:00
parent d773859e04
commit 94a4c4cdf8
9 changed files with 10 additions and 10 deletions

View File

@ -152,7 +152,7 @@ document.addEventListener("DOMContentLoaded", async () => {
document.querySelector(`#languageSelector > [value=${lang.chosenLang}]`)
?.classList.add('active');
await client.isAuthenticate();
await client.isAuthenticated();
router(location.pathname);
document.querySelector('a[href=\'' + location.pathname + '\']')?.classList.add('active');
});