From 3cee6234d3ea56e52449faf61087f8175b362641 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 14 Nov 2024 13:16:32 +0530 Subject: [PATCH] chore: linter fix --- billing/package.json | 2 +- billing/postcss.config.js | 8 +- billing/src/components/AddCardModal.vue | 43 ++- billing/src/components/AddressForm.vue | 2 +- .../src/components/BillingDetailsModal.vue | 45 ++- billing/src/components/BuyCreditsStripe.vue | 265 +++++++++--------- billing/src/components/CardForm.vue | 2 +- billing/src/components/ChangeCardModal.vue | 228 ++++++++------- billing/src/components/PaymentDetails.vue | 19 +- billing/src/components/PlanDetails.vue | 32 +-- billing/src/dialogs.js | 2 +- billing/src/icons/GreenCheckIcon.vue | 28 +- billing/src/icons/InvoiceIcon.vue | 22 +- billing/src/icons/LightningIcon.vue | 22 +- billing/src/icons/UnPaidBillIcon.vue | 22 +- billing/src/logo/Amex.vue | 124 ++++---- billing/src/logo/Generic.vue | 38 ++- billing/src/logo/MasterCard.vue | 140 +++++---- billing/src/logo/PoweredByStripeLogo.vue | 50 ++-- billing/src/logo/RazorpayLogo.vue | 96 +++---- billing/src/logo/StripeLogo.vue | 75 +++-- billing/src/logo/Visa.vue | 145 +++++----- billing/src/pages/BillingHistory.vue | 7 +- billing/src/pages/Plans.vue | 2 +- billing/tailwind.config.js | 30 +- billing/vite.config.js | 2 +- 26 files changed, 680 insertions(+), 771 deletions(-) diff --git a/billing/package.json b/billing/package.json index e8f179224f..f2b2aaee1a 100644 --- a/billing/package.json +++ b/billing/package.json @@ -20,6 +20,6 @@ "@vitejs/plugin-vue": "^4.2.3", "autoprefixer": "^10.4.14", "postcss": "^8.4.5", - "vite": "^4" + "vite": "^4.4.9" } } diff --git a/billing/postcss.config.js b/billing/postcss.config.js index 33ad091d26..1b69d43b0e 100644 --- a/billing/postcss.config.js +++ b/billing/postcss.config.js @@ -1,6 +1,6 @@ module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, } diff --git a/billing/src/components/AddCardModal.vue b/billing/src/components/AddCardModal.vue index 6eaa06005a..b48dad8520 100644 --- a/billing/src/components/AddCardModal.vue +++ b/billing/src/components/AddCardModal.vue @@ -1,33 +1,30 @@ diff --git a/billing/src/components/CardForm.vue b/billing/src/components/CardForm.vue index 195f140c39..58b89b5f04 100644 --- a/billing/src/components/CardForm.vue +++ b/billing/src/components/CardForm.vue @@ -280,7 +280,7 @@ async function submit() { }, }, }, - }, + } ) if (error) { addingCard.value = false diff --git a/billing/src/components/ChangeCardModal.vue b/billing/src/components/ChangeCardModal.vue index c38225f689..595292f199 100644 --- a/billing/src/components/ChangeCardModal.vue +++ b/billing/src/components/ChangeCardModal.vue @@ -1,77 +1,75 @@ diff --git a/billing/src/components/PaymentDetails.vue b/billing/src/components/PaymentDetails.vue index 876a2a66db..60fd15976c 100644 --- a/billing/src/components/PaymentDetails.vue +++ b/billing/src/components/PaymentDetails.vue @@ -42,25 +42,14 @@ class="inline-flex items-center gap-2 text-gray-700" > - {{ - paymentModeOptions.find((o) => o.value === team.payment_mode) - .description - }} + {{ paymentMode.description }} Not set