fix: typo isAuthenticate -> isAuthenticated
This commit is contained in:
@ -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');
|
||||
});
|
||||
|
Reference in New Issue
Block a user