fix: oopsies
This commit is contained in:
@ -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 }
|
||||
|
Reference in New Issue
Block a user