# All channels
Sachin D. Shinde@sachin-shinde
useLazyQuery Executed TwiceMarch 3, 2021 at 9:19am
I am working on one React project, and for one of the components I am calling useLazyQuery in useEffect hook with an empty dependencies array. When the query gets executed i am returning the child component and inside the child component i have one useMutation hook which i am calling on one of the child events. The problem is when a child component calls that useMutation hook/API somehow it also calls that useLazyQuery from the parent. Although i have put that in useEffect with empty dependency. so my question is why it's calling that parent uselazyQuery having empty dependency.