We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d7aa4a commit 609f23cCopy full SHA for 609f23c
1 file changed
src/components/Search.tsx
@@ -45,7 +45,9 @@ export default function Search() {
45
// onBlur={(e) => setopen(false)}
46
onChange={e => {
47
set_has_text(!!e.target.value);
48
- refine(e.target.value);
+ if (!!e.target.value) {
49
+ refine(e.target.value);
50
+ }
51
}}
52
inputRef={inputRef}
53
InputProps={isxs ? undefined : {
0 commit comments