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.
2 parents 599e046 + 5d911cb commit f59b712Copy full SHA for f59b712
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