Skip to content

Commit 2b7a177

Browse files
committed
search by username
1 parent be7f308 commit 2b7a177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/Navbar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const Navbar = ({ onSearch }) => {
3838
<label htmlFor="simple-search" className="sr-only">Search</label>
3939
<div className="relative w-full">
4040
<input type="text" id="simple-search" className="border border-gray text-sm rounded-lg block shadow w-full pl-3 p-2.5 bg-[#0e0e0e] border-gray-600 placeholder-gray-400 text-white focus:ring-blue-500 focus:border-blue-500" value={searchQuery}
41-
onChange={handleSearch} onKeyDown={handleKeyPress} placeholder="Search by Name or Username..." required="" />
41+
onChange={handleSearch} onKeyDown={handleKeyPress} placeholder="Search by Username..." required="" />
4242
</div>
4343
</div>
4444
</div>

0 commit comments

Comments
 (0)