diff --git a/app/app.vue b/app/app.vue index b268f3b..fed3b37 100644 --- a/app/app.vue +++ b/app/app.vue @@ -126,7 +126,7 @@ let stopWatch: (() => void) | null = null onMounted(() => { if (!import.meta.client) return - + useEventListener('scroll', scrollStore.updateScrollValue) stopWatch = watch( @@ -153,7 +153,7 @@ onBeforeUnmount(() => { stopWatch() stopWatch = null } - + // requestAnimationFrame 정리 if (rafId) { cancelAnimationFrame(rafId) diff --git a/layers/components/blocks/Button/Home.vue b/layers/components/blocks/Button/Home.vue index 7fbcd60..86e20ec 100644 --- a/layers/components/blocks/Button/Home.vue +++ b/layers/components/blocks/Button/Home.vue @@ -7,6 +7,9 @@ diff --git a/layers/components/layouts/EventNavigation.vue b/layers/components/layouts/EventNavigation.vue index 7cdf417..92a3217 100644 --- a/layers/components/layouts/EventNavigation.vue +++ b/layers/components/layouts/EventNavigation.vue @@ -85,6 +85,9 @@ onMounted(async () => {