diff --git a/src/renderer/src/components/header/header.tsx b/src/renderer/src/components/header/header.tsx index 435c049b..518e4b9f 100644 --- a/src/renderer/src/components/header/header.tsx +++ b/src/renderer/src/components/header/header.tsx @@ -62,8 +62,7 @@ export function Header() { const { t } = useTranslation("header"); - const { addToHistory, removeFromHistory, clearHistory, getRecentHistory } = - useSearchHistory(); + const { addToHistory, clearHistory, getRecentHistory } = useSearchHistory(); const { suggestions, isLoading: isLoadingSuggestions } = useSearchSuggestions( searchValue, diff --git a/src/renderer/src/components/search-dropdown/highlight-text.tsx b/src/renderer/src/components/search-dropdown/highlight-text.tsx index 9f8f0121..9950c8a1 100644 --- a/src/renderer/src/components/search-dropdown/highlight-text.tsx +++ b/src/renderer/src/components/search-dropdown/highlight-text.tsx @@ -19,7 +19,6 @@ export function HighlightText({ text, query }: HighlightTextProps) { return <>{text}; } - const textLower = text.toLowerCase(); const textWords = text.split(/\b/); const matches: Array<{ start: number; end: number; text: string }> = [];