zy-acs-flow/src/map/insight/agv/useCoolHook.js @@ -42,9 +42,12 @@ debouncedFetch(inputValue); }, [inputValue, debouncedFetch]); const resetInput = () => setInputValue(''); return { options, setInputValue, resetInput, }; }