Update Footer.vue
This commit is contained in:
parent
9e7b9155f3
commit
291cf5bd33
@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
const { t, availableLocales, locale } = useI18n()
|
||||
|
||||
const toggleLocales = () => {
|
||||
function toggleLocales() {
|
||||
// change to some real logic
|
||||
const locales = availableLocales
|
||||
locale.value = locales[(locales.indexOf(locale.value) + 1) % locales.length]
|
||||
|
Loading…
Reference in New Issue
Block a user