fix: oopsies
This commit is contained in:
parent
57b318ea81
commit
01d50f1d8c
@ -117,7 +117,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
}
|
||||
});
|
||||
router(location.pathname);
|
||||
document.querySelector('a[href=\'' + location.pathname + '\']').classList.add('active');
|
||||
document.querySelector('a[href=\'' + location.pathname + '\']')?.classList.add('active');
|
||||
});
|
||||
|
||||
export { client, navigateTo }
|
||||
|
Loading…
Reference in New Issue
Block a user