From eb19a2d8af78f9dc7fc6b1e64c5ac98577c6c155 Mon Sep 17 00:00:00 2001 From: cp-dharti-r Date: Thu, 14 Mar 2024 14:22:03 +0530 Subject: [PATCH] Run prettier --- nuxt-frontend/components/CTA/CTA2.vue | 4 ++-- nuxt-frontend/components/CTA/CTA3.vue | 4 ++-- nuxt-frontend/tailwind.config.js | 2 +- nuxt-frontend/utils.js | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nuxt-frontend/components/CTA/CTA2.vue b/nuxt-frontend/components/CTA/CTA2.vue index 5a4e592a6..26865cf04 100644 --- a/nuxt-frontend/components/CTA/CTA2.vue +++ b/nuxt-frontend/components/CTA/CTA2.vue @@ -250,7 +250,7 @@ onMounted(() => { recaptchaScript.setAttribute( "src", "https://www.google.com/recaptcha/enterprise.js?render=" + - recaptchaKey.value + recaptchaKey.value, ); recaptchaScript.setAttribute("async", "true"); recaptchaScript.setAttribute("defer", "true"); @@ -300,7 +300,7 @@ const submitForm = (event) => { .then(() => { localStorage.setItem( "client-name", - JSON.stringify(formData.name) + JSON.stringify(formData.name), ); window.location.href = "/thank-you"; resetForm(); diff --git a/nuxt-frontend/components/CTA/CTA3.vue b/nuxt-frontend/components/CTA/CTA3.vue index 28ea98694..c1726ef07 100644 --- a/nuxt-frontend/components/CTA/CTA3.vue +++ b/nuxt-frontend/components/CTA/CTA3.vue @@ -260,7 +260,7 @@ onMounted(() => { recaptchaScript.setAttribute( "src", "https://www.google.com/recaptcha/enterprise.js?render=" + - recaptchaKey.value + recaptchaKey.value, ); recaptchaScript.setAttribute("async", "true"); recaptchaScript.setAttribute("defer", "true"); @@ -310,7 +310,7 @@ const submitForm = (event) => { .then(() => { localStorage.setItem( "client-name", - JSON.stringify(formData.name) + JSON.stringify(formData.name), ); window.location.href = "/thank-you"; resetForm(); diff --git a/nuxt-frontend/tailwind.config.js b/nuxt-frontend/tailwind.config.js index 0ca0b3105..d6e901aa1 100644 --- a/nuxt-frontend/tailwind.config.js +++ b/nuxt-frontend/tailwind.config.js @@ -336,7 +336,7 @@ module.exports = { 120: "120deg", 135: "135deg", }), - } + }, ); }), function ({ addComponents }) { diff --git a/nuxt-frontend/utils.js b/nuxt-frontend/utils.js index c73b57600..75523a97f 100644 --- a/nuxt-frontend/utils.js +++ b/nuxt-frontend/utils.js @@ -36,7 +36,7 @@ function setGithubStars(contributions, githubRepos) { .filter( (repo) => repo.name == - contribution.link.slice(contribution.link.lastIndexOf("/") + 1) + contribution.link.slice(contribution.link.lastIndexOf("/") + 1), ) .map((repo) => repo.stargazers_count.toString())[0]; }); @@ -79,7 +79,7 @@ function getJobDates() { currentDay <= maxDays ? startDateOfMonth : new Date( - startDateOfMonth.setDate(startDateOfMonth.getDate() + maxDays) + startDateOfMonth.setDate(startDateOfMonth.getDate() + maxDays), ); const datePosted = jobPosted.toISOString().split("T")[0];