fixed sctoll top per page change

This commit is contained in:
Mamalizz
2025-05-12 15:28:06 +03:30
parent 5f95373fb3
commit 4cb139ca03
5 changed files with 9 additions and 17 deletions
-5
View File
@@ -1,5 +0,0 @@
export default defineNuxtRouteMiddleware((to, from) => {
if (to.path !== from.path && process.client) {
window.scrollTo(0, 0);
}
});