Fixed iport in pages/index.astro
This commit is contained in:
parent
e5ac03d11a
commit
6cd3a06e97
@ -6,9 +6,7 @@ import Hero from "../components/Hero.astro";
|
|||||||
import About from "../components/About.astro";
|
import About from "../components/About.astro";
|
||||||
import Showcase from "../components/Showcase.astro";
|
import Showcase from "../components/Showcase.astro";
|
||||||
import FloatingLinks from "../components/FloatingLinks.astro";
|
import FloatingLinks from "../components/FloatingLinks.astro";
|
||||||
|
import { getLangFromUrl, useTranslations } from "../i18n/utils";
|
||||||
//@ts-ignore
|
|
||||||
import { getLangFromUrl, useTranslations } from "../../i18n/utils";
|
|
||||||
|
|
||||||
const t = useTranslations(getLangFromUrl(Astro.url));
|
const t = useTranslations(getLangFromUrl(Astro.url));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user