new changes

This commit is contained in:
Mamalizz
2025-06-07 21:07:32 +03:30
parent 373c8a3fe5
commit c06b0126b1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ export default defineNuxtPlugin((nuxtApp) => {
let isFirstLoad = true;
nuxtApp.hook("page:finish", () => {
const currentPath = useRoute().fullPath;
const { fullPath: currentPath } = useRoute();
if (isFirstLoad) {
previousPath = currentPath;