Revert "Encode autocomplete search query"
This reverts commit 7f8d084fa4
.
This commit is contained in:
parent
cb0918726e
commit
813ef0e960
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export const getSearchSuggestions = (value: string) => (dispatch: Dispatch, getS
|
|||
return;
|
||||
}
|
||||
|
||||
fetch(`${CONNECTION_STRING}autocomplete?s=${encodeURIComponent(searchValue)}`)
|
||||
fetch(`${CONNECTION_STRING}autocomplete?s=${searchValue}`)
|
||||
.then(handleFetchResponse)
|
||||
.then(apiSuggestions => {
|
||||
dispatch({
|
||||
|
|
Loading…
Add table
Reference in a new issue