+
+ Sort by:
+
-
-
setSearchQuery(e.target.value)}
- placeholder="🔍 Search anything"
- className="p-2 w-full max-w-xs rounded-md text-[#000435] bg-white dark:text-white dark:bg-[#000435] border border-sky-400 focus:outline-none focus:ring-2 focus:ring-blue-500"
- onKeyDown={(event) => {
- if (event.key == "Enter") {
- handleSearch()
- }
- }}
- />
-
- {showSuggestions && suggestions.length > 0 && (
-
- {suggestions.map((suggestion) => (
- - handleSuggestionClick(suggestion)}
- className="cursor-pointer p-2 hover:bg-gray-200 dark:hover:bg-gray-700 rounded-md"
- >
- {suggestion.title}
-
- ))}
-
- )}
-
+ {suggestion.title}
+
+ ))}
+
+ )}
+