Skip to content

Commit 37340bb

Browse files
authored
docs: i18n example useless import (#3479)
1 parent 0afd2ac commit 37340bb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/content/docs/7.integrations/01.i18n.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ import { withLeadingSlash } from 'ufo'
8181
import type { Collections } from '@nuxt/content'
8282
8383
const route = useRoute()
84-
const { locale, localeProperties } = useI18n()
84+
const { locale } = useI18n()
8585
const slug = computed(() => withLeadingSlash(String(route.params.slug)))
8686
8787
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
161161

162162
You can see a complete working example:
163163
- **Source**: https://github.com/nuxt/content/tree/main/examples/i18n
164-
- **Live Demo**: https://content3-i18n.nuxt.dev/
164+
- **Live Demo**: https://content3-i18n.nuxt.dev/

0 commit comments

Comments
 (0)