lint warnings
This commit is contained in:
@@ -34,7 +34,7 @@ export default function useUsers(props?: {type?: string; page?: number; size?: n
|
||||
})
|
||||
.finally(() => setIsLoading(false));
|
||||
};
|
||||
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
useEffect(getData, [props?.page, props?.size, props?.type, props?.orderBy, props?.direction]);
|
||||
|
||||
return {users, total, isLoading, isError, reload: getData};
|
||||
|
||||
Reference in New Issue
Block a user