We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7921f44 commit b7476a3Copy full SHA for b7476a3
2025/src/pages/[lang]/index.astro
@@ -7,16 +7,13 @@ import Staff from "../../components/Staff.astro";
7
import Top from "../../components/Top.astro";
8
import Venue from "../../components/Venue.astro";
9
import "../../styles/global.css";
10
-import { LANGUAGES, useTranslate } from "@/i18n";
+import { LANGUAGES } from "@/i18n";
11
12
import Layout from "@/layouts/Layout.astro";
13
14
export function getStaticPaths() {
15
return LANGUAGES.map((lang) => ({ params: { lang } }));
16
}
17
-
18
-const { lang } = Astro.params;
19
-const t = useTranslate(lang);
20
---
21
22
<Layout>
0 commit comments