Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Fix social provider error
Browse files Browse the repository at this point in the history
  • Loading branch information
dzbo committed Nov 8, 2023
1 parent 3b58322 commit ea0e045
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/AppFooter.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<script setup lang="ts">
import { ProviderName } from '@lukso/web-components/dist/components/lukso-share'
const providers: ProviderName[] = ['twitter', 'discord', 'github']
const providers = ref<ProviderName[]>()
onMounted(() => {
providers.value = ['twitter', 'discord', 'github']
})
</script>

<template>
<lukso-footer :providers="providers">
<lukso-footer v-if="providers" :providers="providers">
<div
slot="links"
class="grid gap-4 items-center grid-cols-1 grid-rows-3 xl:grid-cols-[repeat(4,max-content)] xl:gap-10 xl:grid-rows-1"
Expand Down

0 comments on commit ea0e045

Please sign in to comment.