diff --git a/components/ProjectCard.tsx b/components/ProjectCard.tsx index 3a66695..e37cb6e 100644 --- a/components/ProjectCard.tsx +++ b/components/ProjectCard.tsx @@ -54,6 +54,7 @@ const escapeSpecialCharacters = (string: string) => { }; const highlightText = (text: string, query: string) => { + query = query.trim(); if (!query) return text; try {