title: Cannot read properties of undefined (reading 'bind') useQuery
body: <p>I have this code right here</p>
  <pre><code>import React from &quot;react&quot;;
  
  import { useQuery } from &quot;@apollo/react-hooks&quot;;
  import gql from &quot;graphql-tag&quot;;
  
  const FETCH_POSTS_QUERY = gql`
    {
      getMovies {
        id
        title
      }
    }
  `;
  
  function Home() {
    const { loading, data } = useQuery(FETCH_POSTS_QUERY);
  
    if (data) {
      console.log(data);
    }
  
    return (
      &lt;div&gt;
        &lt;h1&gt;Home&lt;/h1&gt;
      &lt;/div&gt;
    );
  }
  
  export default Home;
  
  </code></pre>
  <p>and when I'm running it I get lots of errors in my console. I'm not sure what I’m doing wrong.</p>
  <p><a href="https://i.stack.imgur.com/jgZa3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jgZa3.png" alt="Picture of wrrors" /></a></p>
  <p>I can tell it's caused by how useQuery is used i think. I'm not sure what's wrong though.</p>
  <p>thanks!</p>