checkpoint

This commit is contained in:
tresabhi committed 2026-09-23 13:48:50 -05:00
1 parent 750bdd236a
commit 9e26da3205
12 files changed
+27 -42

No files matched your search

@@ -1,6 +1,6 @@
---
import { api } from "../api/dynamic";
import type { Tool } from "../constants/tools";
import { getStrings } from "../core/i18n/getStrings";
import { Heading } from "./Heading";
import { LinkI18n } from "./LinkI18n";
@@ -11,7 +11,7 @@ interface Props {
}
const { locale, tool, minor } = Astro.props;
const strings = getStrings(locale);
const strings = await api.strings(locale);
const toolStrings =
strings.website.tools[
(tool.strings ?? tool.id) as keyof typeof strings.website.tools