fix: i18n tsc

This commit is contained in:
Ibrahima G. Coulibaly
2025-07-13 14:09:04 +01:00
parent 2bcd88cfd1
commit 0ed18c7231
22 changed files with 268 additions and 271 deletions

View File

@@ -31,8 +31,10 @@ export default function ToolLayout({
const { t } = useTranslation();
// Use i18n keys if available, otherwise fall back to provided strings
const toolTitle = i18n ? t(i18n.name) : title;
const toolDescription = i18n ? t(i18n.description) : description;
//@ts-ignore
const toolTitle: string = i18n ? t(i18n.name) : title;
//@ts-ignore
const toolDescription: string = i18n ? t(i18n.description) : description;
const otherCategoryTools =
getToolsByCategory()