From 6ca5e5411221f033848f33e76fb1e97048f13aa6 Mon Sep 17 00:00:00 2001 From: Michel EDIGHOFFER Date: Fri, 25 Jul 2025 00:08:55 +0200 Subject: [PATCH] docs: i18n example useless import --- docs/content/docs/7.integrations/01.i18n.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/