exaustive-deps warning

This commit is contained in:
Carlos Mesquita
2024-08-26 18:28:37 +01:00
parent 22928ce283
commit eb7c539a0e

View File

@@ -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 {