diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index ba2bc9d..4cae00e 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -117,7 +117,7 @@ export default function Hero() { if (tool === undefined) { return []; } - return [tool]; + return [{ ...tool, label: t(tool.label) }]; }) : exampleTools; @@ -189,9 +189,9 @@ export default function Hero() { - {option.name} + {t(option.name)} - {option.shortDescription} + {t(option.shortDescription)}