title: how to call 2 times when data in graphql react?
body: <p>loadGreeting () is not caused by another time when changes props.currentStore</p>
  
  <pre><code>  const [loadGreeting, { called, loading, data }] = useLazyQuery(
        GET_COOKIES,
       { context: {
          headers: {
            "x-request-shop-id": props.currentStore ? props.currentStore.id : ""
          },
        }},
    );
  
    useEffect(() =&gt; {
      if (props.currentStore.id) {
        loadGreeting();// here it comes a change but does not cause other data props.correntStore
    }
    }, [props.currentStore ]);
  </code></pre>