Skip to content

Commit 7612c33

Browse files
authored
Merge pull request #31 from retrozinndev/devel
💥 fix: lang parameter not defined in 404 NavBar
2 parents 37dddcd + 5e3f24d commit 7612c33

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/i18n/ui.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@ export let i18n: object = {
1313

1414
export const languages: Array<string> = Object.keys(i18n);
1515
export const defaultLang = "en" as keyof typeof i18n;
16-
17-
console.log(languages);

src/pages/404.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
32
import "../styles/global.css";
43
import NavBar from "../components/NavBar.astro";
4+
5+
Astro.params.lang = "en";
56
---
67

78
<!DOCTYPE html>

0 commit comments

Comments
 (0)