mirror of
https://github.com/JustAnimeCore/JustAnime.git
synced 2026-04-17 22:01:45 +00:00
search working
This commit is contained in:
@@ -60,7 +60,8 @@ export default function Navbar() {
|
||||
setSearchSuggestions([{
|
||||
id: searchQuery.toLowerCase().replace(/\s+/g, '-'),
|
||||
title: `Search for "${searchQuery}"`,
|
||||
type: "SEARCH"
|
||||
type: "SEARCH",
|
||||
image: null
|
||||
}]);
|
||||
}
|
||||
} catch (error) {
|
||||
@@ -69,7 +70,8 @@ export default function Navbar() {
|
||||
setSearchSuggestions([{
|
||||
id: searchQuery.toLowerCase().replace(/\s+/g, '-'),
|
||||
title: `Search for "${searchQuery}"`,
|
||||
type: "SEARCH"
|
||||
type: "SEARCH",
|
||||
image: null
|
||||
}]);
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user