diff --git a/docs/content/docs/7.integrations/01.i18n.md b/docs/content/docs/7.integrations/01.i18n.md index de9a3861e..f20ce50de 100644 --- a/docs/content/docs/7.integrations/01.i18n.md +++ b/docs/content/docs/7.integrations/01.i18n.md @@ -81,7 +81,7 @@ import { withLeadingSlash } from 'ufo' import type { Collections } from '@nuxt/content' const route = useRoute() -const { locale, localeProperties } = useI18n() +const { locale } = useI18n() const slug = computed(() => withLeadingSlash(String(route.params.slug))) const { data: page } = await useAsyncData('page-' + slug.value, async () => { @@ -161,4 +161,4 @@ Make sure to handle missing content gracefully and provide clear feedback to use You can see a complete working example: - **Source**: https://github.com/nuxt/content/tree/main/examples/i18n -- **Live Demo**: https://content3-i18n.nuxt.dev/ \ No newline at end of file +- **Live Demo**: https://content3-i18n.nuxt.dev/