Skip to content

Commit

Permalink
docs: add missing imports in translations (#4391)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-bastien authored Nov 28, 2024
1 parent 31b3e85 commit 452d6c7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/es/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {
<!-- docs/.vitepress/theme/Layout.vue -->
<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData } from 'vitepress'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
const { lang } = useData()
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {
<!-- docs/.vitepress/theme/Layout.vue -->
<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData } from 'vitepress'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
const { lang } = useData()
Expand Down
2 changes: 1 addition & 1 deletion docs/pt/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {
<!-- docs/.vitepress/theme/Layout.vue -->
<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData } from 'vitepress'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
const { lang } = useData()
Expand Down
2 changes: 1 addition & 1 deletion docs/ru/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {
<!-- docs/.vitepress/theme/Layout.vue -->
<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData } from 'vitepress'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
const { lang } = useData()
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {
<!-- docs/.vitepress/theme/Layout.vue -->
<script setup lang="ts">
import DefaultTheme from 'vitepress/theme'
import { useData } from 'vitepress'
import { useData, inBrowser } from 'vitepress'
import { watchEffect } from 'vue'
const { lang } = useData()
Expand Down

0 comments on commit 452d6c7

Please sign in to comment.