()
| 290 | }; |
| 291 | |
| 292 | const exec = async () => { |
| 293 | if (!onSearchSync || !open) return; |
| 294 | |
| 295 | if (triggerSearchOnFocus) { |
| 296 | doSearchSync(); |
| 297 | } |
| 298 | |
| 299 | if (debouncedSearchTerm) { |
| 300 | doSearchSync(); |
| 301 | } |
| 302 | }; |
| 303 | |
| 304 | void exec(); |
| 305 | // eslint-disable-next-line react-hooks/exhaustive-deps |
no test coverage detected