We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599e046 commit 5d911cbCopy full SHA for 5d911cb
src/components/Searchbar/searchbar-child.tsx
@@ -32,7 +32,6 @@ function SearchBarChild({
32
};
33
34
const handleSelectSuggestion = (suggestion: string) => {
35
- suggestion = suggestion.replace(/\[.*?\]/g, "").trim();
36
router.push(`/catalogue?subject=${encodeURIComponent(suggestion)}`);
37
setSearchText(suggestion);
38
setSuggestions([]);
0 commit comments