This commit is contained in:
EthanHealy01 2025-09-24 15:11:52 +01:00
parent 9450386d57
commit 643ff6f998
2 changed files with 0 additions and 2 deletions

View File

@ -1,7 +1,6 @@
import { useMemo } from 'react'; import { useMemo } from 'react';
import { SUBCATEGORY_ORDER, SubcategoryId, ToolCategoryId, ToolRegistryEntry } from '../data/toolsTaxonomy'; import { SUBCATEGORY_ORDER, SubcategoryId, ToolCategoryId, ToolRegistryEntry } from '../data/toolsTaxonomy';
import { idToWords, normalizeForSearch } from '../utils/fuzzySearch';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
type SubcategoryIdMap = { type SubcategoryIdMap = {

View File

@ -17,7 +17,6 @@ export const getTranslatedSynonyms = (t: TFunction, toolId: string): string[] =>
.map((tag: string) => tag.trim()) .map((tag: string) => tag.trim())
.filter((tag: string) => tag.length > 0); .filter((tag: string) => tag.length > 0);
} catch (error) { } catch (error) {
// eslint-disable-next-line no-console
console.warn(`Failed to get translated synonyms for tool ${toolId}:`, error); console.warn(`Failed to get translated synonyms for tool ${toolId}:`, error);
return []; return [];
} }