feat: Add Popular Features component and integrate with search functionality; enhance SearchForm with clear button and initial query handling; update scrollbar styling utility

This commit is contained in:
kuekhaoyang
2025-11-17 16:34:13 +08:00
parent 6a84889c2c
commit 1f55ba2d56
8 changed files with 470 additions and 53 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ export function useParallelSearch(
* Perform parallel search with streaming results
*/
const performSearch = useCallback(async (searchQuery: string) => {
if (!searchQuery.trim() || loading) return;
if (!searchQuery.trim()) return;
// Abort any ongoing search
if (abortControllerRef.current) {