mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-15 16:33:02 -03:00
fix: removed unused variables
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 }> = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user