Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Sep 25, 2023
1 parent 98203d8 commit 4f4d065
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/Footer/FooterAnalytics.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<template>
<span v-if="analytics">This site use {{ analytics }}.</span>
<span v-if="analytics">This site uses {{ analytics }}.</span>
</template>

<script setup>
const ANALYTICS_LOADERS = {
analytics: 'Google Analytics',
gtm: 'Google Tag Manager',
Expand All @@ -20,5 +19,8 @@ const ANALYTICS_LOADERS = {
}
const analyticKeys = Object.keys(__APP_ENV__.analytics_services || {})
const analytics = analyticKeys.map(key => ANALYTICS_LOADERS[key]).filter(Boolean).join('; ')
const analytics = analyticKeys
.map((key) => ANALYTICS_LOADERS[key])
.filter(Boolean)
.join('; ')
</script>

0 comments on commit 4f4d065

Please sign in to comment.