Updated "react-use" package to newest version (#37579)

* package.json: updated react-use to newest version

* fixes (typescript and other)
This commit is contained in:
Gábor Farkas
2021-08-05 14:32:51 +02:00
committed by GitHub
parent 8073be2e4e
commit 9417e86316
10 changed files with 115 additions and 93 deletions

View File

@@ -101,7 +101,7 @@ const SelSingleLoad = ({ loadOptions, allowCustomValue, onChange, onClose }: Sel
const [loadState, doLoad] = useAsyncFn(loadOptions, [loadOptions]);
useEffect(() => {
doLoad();
doLoad('');
}, [doLoad, loadOptions]);
return (