Use precise imports for react-use hooks.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
*/
|
||||
|
||||
import { useRef } from 'react';
|
||||
import { useAsyncFn, useDebounce } from 'react-use';
|
||||
import useAsyncFn from 'react-use/lib/useAsyncFn';
|
||||
import useDebounce from 'react-use/lib/useDebounce';
|
||||
|
||||
/**
|
||||
* Utility hook for either asynchronously loading filter values from a given
|
||||
|
||||
Reference in New Issue
Block a user