exaustive-deps warning
This commit is contained in:
@@ -39,6 +39,7 @@ export default function useFilterRecordsByUser<T extends any[]>(
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
getData();
|
getData();
|
||||||
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [id, shouldNotQuery, recordType, endpoint]);
|
}, [id, shouldNotQuery, recordType, endpoint]);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user