Skip to content

Commit 3731d41

Browse files
authored
Update [...slug].astro
1 parent 3f394c2 commit 3731d41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/[lang]/[...slug].astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ if (!page.notTranslated) {
4545
const render = await page.render()
4646
Content = render.Content
4747
headings = render.headings
48-
} else {
49-
changeLanguage(params.lang)
5048
}
5149
50+
changeLanguage(params.lang)
51+
5252
const content = {
5353
...page.data,
5454
lang: params.lang,

0 commit comments

Comments
 (0)