From 4cb139ca0342590998ba73756d9af5f4d96b62c6 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Mon, 12 May 2025 15:28:06 +0330 Subject: [PATCH] fixed sctoll top per page change --- frontend/components/global/product/Accordion.vue | 9 ++------- frontend/middleware/route.global.ts | 5 ----- frontend/pages/profile/index.vue | 2 +- frontend/plugins/scrollToTop.client.ts | 5 +++++ frontend/types/global.d.ts | 5 +---- 5 files changed, 9 insertions(+), 17 deletions(-) delete mode 100644 frontend/middleware/route.global.ts create mode 100644 frontend/plugins/scrollToTop.client.ts diff --git a/frontend/components/global/product/Accordion.vue b/frontend/components/global/product/Accordion.vue index edf8e16..a42cac9 100644 --- a/frontend/components/global/product/Accordion.vue +++ b/frontend/components/global/product/Accordion.vue @@ -42,13 +42,8 @@ const { selectedVariant } = inject("productVariant") as ProductVariantProvideTyp