bugfix: local-search support cjk
This commit is contained in:
parent
6d8ce5361a
commit
19a910a91c
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ export const SearchBar = (props: Props): JSX.Element => {
|
|||
);
|
||||
|
||||
if (isLocal) {
|
||||
setLocalSearch(search);
|
||||
// no additional encoding required for local search
|
||||
setLocalSearch(inputRef.current.value);
|
||||
}
|
||||
|
||||
if (e.code === 'Enter' || e.code === 'NumpadEnter') {
|
||||
|
|
Loading…
Reference in a new issue