Bug - V2 Wizard: trim searchterm to prevent spaces from not producing results
This commit is contained in:
parent
cd1aa238f6
commit
c61fda02b1
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ const Packages = () => {
|
|||
},
|
||||
] = useSearchRpmMutation();
|
||||
|
||||
const debouncedSearchTerm = useDebounce(searchTerm);
|
||||
const debouncedSearchTerm = useDebounce(searchTerm.trim());
|
||||
const debouncedSearchTermLengthOf1 = debouncedSearchTerm.length === 1;
|
||||
|
||||
const [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue