fix: removed unused variables

This commit is contained in:
Moyasee
2025-11-15 21:04:08 +02:00
parent 28bf7b8764
commit 8cd613e3b6
2 changed files with 1 additions and 3 deletions

View File

@@ -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,

View File

@@ -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 }> = [];