Enhance search functionality to support hashtag queries and update UI for search results display

This commit is contained in:
2025-10-05 16:18:25 +02:00
parent 5c8b80e40c
commit 2a92b84f4c
3 changed files with 28 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ export function SearchBar({ className }: { className?: string }) {
<Search className="absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" />
<Input
type="search"
placeholder="Search users, articles..."
placeholder="Search users, articles, #tags..."
value={searchTerm}
onChange={(e) => handleInputChange(e.target.value)}
onKeyDown={handleKeyDown}