Fixed some content rules

This commit is contained in:
Alexis
2025-05-07 14:54:13 +02:00
parent f132e6d1e0
commit 4433f5f1b6
3 changed files with 62 additions and 43 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
const { locale } = useI18n()
const { data: page, refresh } = await useAsyncData(locale, () => {
const { data: page, refresh } = await useAsyncData(`about-content-${locale}`, () => {
return queryCollection("sections").path(`/sections/${locale.value}/legal`).first()
})