mirror of
https://github.com/pawelmalak/flame.git
synced 2026-02-28 01:13:11 +08:00
bugfix: local-search support cjk
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user