From 3b93c8b669e92cf22798fbf5fa2241f70380a722 Mon Sep 17 00:00:00 2001 From: cp-jagruti-a Date: Tue, 21 Nov 2023 09:37:05 +0530 Subject: [PATCH] Fix unwanted runtime errors on services and android page --- nuxt-frontend/pages/android-app-development.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nuxt-frontend/pages/android-app-development.vue b/nuxt-frontend/pages/android-app-development.vue index 0275e5302..b9bd003e8 100644 --- a/nuxt-frontend/pages/android-app-development.vue +++ b/nuxt-frontend/pages/android-app-development.vue @@ -20,11 +20,12 @@ import Header from "@/components/partials/NewHeader.vue"; import config from "@/config.js"; import LandingSection from "@/components/android-app-development/LandingSection.vue"; -import DevelopmentSection from "@/components/android-app-development/DevelopmentSection.vue"; import { elementInViewPort } from "@/utils.js"; import { defineAsyncComponent } from "vue"; - +const DevelopmentSection = defineAsyncComponent(() => + import("@/components/android-app-development/DevelopmentSection.vue") +); const CaseStudy = defineAsyncComponent(() => import("@/components/android-app-development/CaseStudySection.vue") ); @@ -95,7 +96,7 @@ export default { methods: { sendEvent() { const event = this.events[elementInViewPort(this.$refs)]; - console.log(event) + console.log(event); if (event && this.event !== event) { this.event = event; this.$mixpanel.track(event);