mentors update + navbar bug fixes

This commit is contained in:
Henri
2026-04-16 16:54:06 +03:00
parent c2a09816db
commit 85f44980e2
2 changed files with 3 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ export function navigate(path, options = {}) {
const resolvedPath = getTranslatedRoute(path, selectedLang);
window.history.pushState({}, "", resolvedPath);
window.scrollTo(0, 0);
window.dispatchEvent(new PopStateEvent('popstate'));
// Update language based on new route