From adff6efe7adf638e1071a0d4f3411fb70b1ed294 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Thu, 2 Jan 2025 12:11:48 +0100 Subject: [PATCH] lint --- components/Icon.vue | 11 ++++++----- locale/pl/nouns/neutratywy.vue | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/components/Icon.vue b/components/Icon.vue index 4e0c145b4..6fe8a2e0e 100644 --- a/components/Icon.vue +++ b/components/Icon.vue @@ -2,7 +2,7 @@ + > import { defineComponent } from 'vue'; import type { PropType } from 'vue'; + import BlueSky from '~/public/img/bluesky.svg'; -const svgDataToHtml = (svgDataString: string): string => decodeURI(svgDataString).replace(/^.* decodeURI(svgDataString).replace(/^.* } => { +const buildQueue = (v: string | (string | undefined)[] | null): { value: string; fallbacks: string[]; svgs: Record } => { const rawValues = Array.isArray(v) ? v : [v]; let values = rawValues.filter((x) => !!x) as string[]; @@ -33,8 +34,8 @@ const buildQueue = (v: string | (string | undefined)[] | null): { value: string; value: values.shift()!, fallbacks: values, svgs: { - 'bluesky': svgDataToHtml(BlueSky), - } + bluesky: svgDataToHtml(BlueSky), + }, }; }; diff --git a/locale/pl/nouns/neutratywy.vue b/locale/pl/nouns/neutratywy.vue index 864631de9..98a5d15a8 100644 --- a/locale/pl/nouns/neutratywy.vue +++ b/locale/pl/nouns/neutratywy.vue @@ -28,7 +28,7 @@
  • Realizacja redesignu: @andrea
  • Flaga osób niebinarych Kye Rowan (public domain)
  • Wektor łosia: Herb Ontario (public domain)
  • -
  • Wektor łoma: Vecteezy
  • +
  • Wektor łoma: Vecteezy