This commit is contained in:
Samandar Turgunboyev
2026-02-20 15:47:02 +05:00
parent bb84da82a8
commit ef55c1ecd8
6 changed files with 105 additions and 104 deletions

View File

@@ -429,7 +429,7 @@ const Navbar = () => {
onBlur={() => setTimeout(() => setSearchOpen(false), 200)}
onKeyDown={(e) => {
if (e.key === 'Enter' && query.trim()) {
router.push(`/search?q=${encodeURIComponent(query)}`);
router.push(`/search?search=${encodeURIComponent(query)}`);
setSearchOpen(false);
}
}}