diff --git a/app/components/Contact/BottomScreen/Background.vue b/app/components/Contact/BottomScreen/Background.vue index e6266c5..cfa8d2c 100644 --- a/app/components/Contact/BottomScreen/Background.vue +++ b/app/components/Contact/BottomScreen/Background.vue @@ -4,8 +4,6 @@ const store = useContactStore(); const homeBackgroundImage = useTemplateRef("homeBackgroundImage"); const contactBackgroundImage = useTemplateRef("contactBackgroundImage"); -callOnce("contactIntro", store.animateIntro); - useRender((ctx) => { if (!homeBackgroundImage.value || !contactBackgroundImage.value) return; diff --git a/app/components/Contact/TopScreen/TopScreen.vue b/app/components/Contact/TopScreen/TopScreen.vue index f6b36e5..2dae452 100644 --- a/app/components/Contact/TopScreen/TopScreen.vue +++ b/app/components/Contact/TopScreen/TopScreen.vue @@ -2,6 +2,13 @@ import Background from "./Background.vue"; import LeftBar from "./LeftBar.vue"; import Title from "./Title.vue"; + +const store = useContactStore(); + +onMounted(() => { + store.$reset(); + store.animateIntro(); +});