From 67e092ff1cdcf4a4d3313b6d298997f6bb25d364 Mon Sep 17 00:00:00 2001 From: "Ibrahima G. Coulibaly" Date: Tue, 15 Jul 2025 14:15:46 +0100 Subject: [PATCH] fix: translations --- src/components/Hero.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)}