This commit is contained in:
tresabhi committed 2026-09-23 16:51:09 -05:00
1 parent 19556b5fc9
commit 444705347f
13 files changed
+49 -56

No files matched your search

@@ -1,7 +1,7 @@
---
import { ArrowLeftIcon } from "@radix-ui/react-icons";
import { api } from "../api/dynamic";
import type { Tool } from "../constants/tools";
import { getStrings } from "../core/i18n/getStrings";
import { Logo } from "../icons/Logo";
import { Back } from "./Back";
import { Flex } from "./Flex";
@@ -14,9 +14,8 @@ interface Props {
}
const { tool, locale } = Astro.props;
const strings = getStrings(locale);
const toolStrings =
strings.website.tools[tool.id as keyof typeof strings.website.tools];
const strings = await api.strings(locale);
const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
---
<style>