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
-
{{ detail }}
diff --git a/frontend/middleware/route.global.ts b/frontend/middleware/route.global.ts
deleted file mode 100644
index ebb378b..0000000
--- a/frontend/middleware/route.global.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export default defineNuxtRouteMiddleware((to, from) => {
- if (to.path !== from.path && process.client) {
- window.scrollTo(0, 0);
- }
-});
diff --git a/frontend/pages/profile/index.vue b/frontend/pages/profile/index.vue
index 44ce1de..9378ec9 100644
--- a/frontend/pages/profile/index.vue
+++ b/frontend/pages/profile/index.vue
@@ -239,7 +239,7 @@ const handleSubmit = (withValidation: boolean) => {
{
+ nuxtApp.hook("page:finish", () => {
+ window.scrollTo(0, 0);
+ });
+});
diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts
index 27ec9c7..f546bfb 100644
--- a/frontend/types/global.d.ts
+++ b/frontend/types/global.d.ts
@@ -62,10 +62,7 @@ declare global {
type ProductDetailItem = {
id: number;
title: string;
- detail_text1: string;
- detail_text2: string;
- detail_text3: string;
- detail_text4: string;
+ texts: string[];
};
type ProductDetail = {