Skip to content

Commit

Permalink
Fix runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-jagruti-a committed Nov 24, 2023
1 parent e979f87 commit a1822fd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions nuxt-frontend/pages/jobs/thank-you/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<VirtueView />
<LifeAtCanopasVue ref="lifeatcanopas" />
<LatestBlog />
<ContributionSection />
<NewFooter ref="footer" />
<ContributionSection ref="contribution" />
<NewFooter />
</div>
</template>
<script setup>
Expand Down Expand Up @@ -37,7 +37,7 @@ const NewFooter = defineAsyncComponent(
const { $mixpanel } = useNuxtApp();
const lifeatcanopas = ref(null);
const footer = ref(null);
const contribution = ref(null);
const seoData = config.JOBS_THANKYOU_SEO_META_DATA;
useSeoMeta({
Expand All @@ -53,14 +53,14 @@ let applicantName = "";
let event = "";
let events = {
lifeatcanopas: "view_jobs_thankyou_lifeatcanopas_section",
footer: "view_jobs_thankyou_footer",
contribution: "view_jobs_thankyou_contribution_section",
};
let elements;
onMounted(() => {
elements = ref({
lifeatcanopas: lifeatcanopas,
footer: footer,
contribution: contribution,
});
window.addEventListener("scroll", sendEvent);
$mixpanel.track("view_jobs_thankyou_page");
Expand Down
20 changes: 10 additions & 10 deletions nuxt-frontend/pages/thank-you.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<div>
<LandingSection :name="clientName" />
<BenefitSection
class="overflow-y-hidden 2xl:overflow-y-visible 3xl:overflow-y-hidden"
class="overflow-y-hidden 2xl:overflow-y-visible 3xl:overflow-y-hidden" ref="benefits"
/>
<HappyClientSection ref="clientreview" />
<ScheduleMeeting />
<HappyClientSection />
<ScheduleMeeting ref="meeting" />
</div>
<NewFooter ref="footer" />
<NewFooter />
</div>
</template>

Expand All @@ -31,8 +31,8 @@ const NewFooter = defineAsyncComponent(
);
const { $mixpanel } = useNuxtApp();
const clientreview = ref(null);
const footer = ref(null);
const benefits = ref(null);
const meeting = ref(null);
const seoData = config.CLIENT_THANKYOU_SEO_META_DATA;
useSeoMeta({
Expand All @@ -47,15 +47,15 @@ useSeoMeta({
let clientName = "";
let event = "";
let events = {
clientreview: "view_thankyou_clientreview_section",
footer: "view_thankyou_footer",
benefits: "view_thankyou_benefits_section",
meeting: "view_thankyou_schedule_meeting_section",
};
let elements;
onMounted(() => {
elements = ref({
clientreview: clientreview,
footer: footer,
benefits: benefits,
meeting: meeting,
});
window.addEventListener("scroll", sendEvent);
$mixpanel.track("view_thankyou_page");
Expand Down

0 comments on commit a1822fd

Please sign in to comment.