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